[LLJIT] Add std::move() as a workaround for older compilers

Clang 3.8 isn't able to bind the variable to rvalue-ref which breaks the build.
This commit is contained in:
Jan Korous 2020-03-13 15:21:12 -07:00
parent b3998a0edb
commit b7ce8fa91e
1 changed files with 1 additions and 1 deletions

View File

@ -928,7 +928,7 @@ Error LLJITBuilderState::prepareForConstruction() {
ES, std::make_unique<jitlink::InProcessMemoryManager>());
ObjLinkingLayer->addPlugin(std::make_unique<EHFrameRegistrationPlugin>(
jitlink::InProcessEHFrameRegistrar::getInstance()));
return ObjLinkingLayer;
return std::move(ObjLinkingLayer);
};
}
}