Skip to content

Commit 36465e3

Browse files
committed
[ORC] Fix missing std::move.
Should fix error in https://lab.llvm.org/buildbot/#/builders/84/builds/41540.
1 parent 84e5278 commit 36465e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/ExecutionEngine/Orc/EPCEHFrameRegistrar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ EPCEHFrameRegistrar::Create(ExecutionSession &ES) {
2828
rt::RegisterEHFrameSectionWrapperName},
2929
{DeregisterEHFrameSectionWrapper,
3030
rt::DeregisterEHFrameSectionWrapperName}}))
31-
return Err;
31+
return std::move(Err);
3232

3333
return std::make_unique<EPCEHFrameRegistrar>(
3434
ES, RegisterEHFrameSectionWrapper, DeregisterEHFrameSectionWrapper);

0 commit comments

Comments
 (0)