diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 282b1e04bea..befd5c76d83 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -51,7 +51,7 @@ public: return *this; } #else - AllocaHolder(AllocaHolder &&RHS) = default; + AllocaHolder(AllocaHolder &&RHS) : Allocations(std::move(RHS.Allocations)) {} #endif ~AllocaHolder() {