[ORC-RT] Fix missing std::move.

This should fix the 'could-not-covert' error at wrapper_function_utils.h:128 in
https://lab.llvm.org/buildbot/#/builders/112/builds/7748.
This commit is contained in:
Lang Hames 2021-07-19 20:59:28 +10:00
parent 4ee28b4fec
commit ad4f04773c
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ serializeViaSPSToWrapperFunctionResult(const ArgTs &...Args) {
if (!SPSArgListT::serialize(OB, Args...))
return make_error<StringError>(
"Error serializing arguments to blob in call");
return Result;
return std::move(Result);
}
template <typename RetT> class WrapperFunctionHandlerCaller {