Provide move constructor to appease Visual C++.
authorYaron Keren <yaron.keren@gmail.com>
Sat, 1 Aug 2015 15:50:53 +0000 (15:50 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Sat, 1 Aug 2015 15:50:53 +0000 (15:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243836 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/LogicalDylib.h

index ff5656d..79e8a2e 100644 (file)
@@ -54,7 +54,10 @@ public:
 
   // If possible, remove this and ~LogicalDylib once the work in the dtor is
   // moved to members (eg: self-unregistering base layer handles).
-  LogicalDylib(LogicalDylib &&RHS) = default;
+  LogicalDylib(LogicalDylib &&RHS)
+      : BaseLayer(std::move(RHS.BaseLayer)),
+        LogicalModules(std::move(RHS.LogicalModules)),
+        DylibResources(std::move(RHS.DylibResources)) {}
 
   LogicalModuleHandle createLogicalModule() {
     LogicalModules.push_back(LogicalModule());