From: Benjamin Kramer Date: Mon, 15 Sep 2014 19:25:55 +0000 (+0000) Subject: Add return that was lost somehow in my last commit. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=46738fc43e13dab2bd46c7fead784bf1860d1701;p=oota-llvm.git Add return that was lost somehow in my last commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217810 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 8ec6a6513e3..9715e71e859 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -45,6 +45,7 @@ public: AllocaHolder(AllocaHolder &&RHS) : Allocations(std::move(RHS.Allocations)) {} AllocaHolder &operator=(AllocaHolder &&RHS) { Allocations = std::move(RHS.Allocations); + return *this; } ~AllocaHolder() {