forked from OSchip/llvm-project
[ORC] Add missing std::move.
This should fix the build failure at https://lab.llvm.org/buildbot/#/builders/58/builds/11428.
This commit is contained in:
parent
b28e5b7910
commit
249510a004
|
@ -866,7 +866,7 @@ Expected<std::unique_ptr<Session>> Session::Create(Triple TT) {
|
|||
// FIXME: Errors destroy the session, leaving the SymbolStringPtrs dangling,
|
||||
// so just exit here. We could fix this by having errors keep the pool alive.
|
||||
ExitOnErr(std::move(Err));
|
||||
return S;
|
||||
return std::move(S);
|
||||
}
|
||||
|
||||
Session::~Session() {
|
||||
|
|
Loading…
Reference in New Issue