summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-04-19 19:34:46 +0000
committerLang Hames <lhames@gmail.com>2016-04-19 19:34:46 +0000
commit40e5968eefce58d16220722bca844cedfa8226ab (patch)
tree32cef7878e2e25d7b7734d0c97a079c8dfa16982 /llvm
parent89be04720148a342c73fd65aac88880f9edde09f (diff)
downloadbcm5719-llvm-40e5968eefce58d16220722bca844cedfa8226ab.tar.gz
bcm5719-llvm-40e5968eefce58d16220722bca844cedfa8226ab.zip
[Orc] Fix missing return in RPC move assignment operator.
llvm-svn: 266804
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
index 3110d81473d..4e18d55a36e 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
@@ -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.
OpenPOWER on IntegriCloud