We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95d7318 + 6608235 commit bffd78fCopy full SHA for bffd78f
lib/Frontend/CachingUtils.cpp
@@ -90,7 +90,7 @@ Expected<bool> cas::CachedResultLoader::replay(CallbackTy Callback) {
90
[&](swift::cas::CompileJobCacheResult::Output Output) -> Error {
91
return Callback(Output.Kind, Output.Object);
92
}))
93
- return Err;
+ return std::move(Err);
94
95
return true;
96
}
@@ -120,7 +120,7 @@ Expected<bool> cas::CachedResultLoader::replay(CallbackTy Callback) {
120
"Unexpected output kind in clang cached result");
121
return Callback(OutputKind, Output.Object);
122
123
124
125
126
0 commit comments