From 8be86aaf826e1a2d2a7d5b2d0054fed20a936fce Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 16 Sep 2014 16:16:39 +0000 Subject: [PATCH] Spell out a move ctor. Even the 2013 vintage of MSVC cannot synthesize move ctors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217879 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/Interpreter/Interpreter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.34.1