1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[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:
Lang Hames 2021-07-19 20:36:22 +10:00
parent 92e22e34b8
commit ae52f80496

View File

@ -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() {