[Orc] Fix missing return.
[oota-llvm.git] / include / llvm / ExecutionEngine / Orc / CompileOnDemandLayer.h
index fcb036fa371d937fbb11638a8a5deebab72ad6f6..84af4728b3504559b6a122bc125f4e99eadbaf8c 100644 (file)
@@ -106,6 +106,7 @@ private:
       SourceModule = std::move(Other.SourceModule);
       StubsToClone = std::move(Other.StubsToClone);
       StubsMgr = std::move(Other.StubsMgr);
+      return *this;
     }
 
     JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) {