OSDN Git Service

Spell out a move ctor. Even the 2013 vintage of MSVC cannot synthesize move ctors.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 16 Sep 2014 16:16:39 +0000 (16:16 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 16 Sep 2014 16:16:39 +0000 (16:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217879 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/Interpreter.h

index 282b1e0..befd5c7 100644 (file)
@@ -51,7 +51,7 @@ public:
     return *this;
   }
 #else
-  AllocaHolder(AllocaHolder &&RHS) = default;
+  AllocaHolder(AllocaHolder &&RHS) : Allocations(std::move(RHS.Allocations)) {}
 #endif
 
   ~AllocaHolder() {