[llvm] r266804 - [Orc] Fix missing return in RPC move assignment operator.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 12:34:47 PDT 2016


Author: lhames
Date: Tue Apr 19 14:34:46 2016
New Revision: 266804

URL: http://llvm.org/viewvc/llvm-project?rev=266804&view=rev
Log:
[Orc] Fix missing return in RPC move assignment operator.

Modified:
    llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h

Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h?rev=266804&r1=266803&r2=266804&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h Tue Apr 19 14:34:46 2016
@@ -349,6 +349,7 @@ public:
   RPC& operator=(RPC &&Other) {
     SequenceNumberMgr = std::move(Other.SequenceNumberMgr);
     OutstandingResults = std::move(Other.OutstandingResults);
+    return *this;
   }
 
   /// Utility class for defining/referring to RPC procedures.




More information about the llvm-commits mailing list