Skip to content

Commit 88fc4d3

Browse files
authored
Merge pull request swiftlang#27079 from compnerd/r-value-ref
ClangImporter: repair build on Windows
2 parents e9c8bb7 + ac1d43b commit 88fc4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4550,7 +4550,7 @@ namespace {
45504550
Impl.SwiftContext.evaluator.cacheOutput(ExtendedTypeRequest{result},
45514551
objcClass->getDeclaredType());
45524552
Impl.SwiftContext.evaluator.cacheOutput(ExtendedNominalRequest{result},
4553-
objcClass);
4553+
std::move(objcClass));
45544554

45554555
// Determine the type and generic args of the extension.
45564556
if (objcClass->getGenericParams()) {

0 commit comments

Comments
 (0)