[llvm] r243792 - Fix an MSVC build break since it can't synthesize move ctors.
David Blaikie
dblaikie at gmail.com
Fri Jul 31 14:47:07 PDT 2015
Author: dblaikie
Date: Fri Jul 31 16:47:07 2015
New Revision: 243792
URL: http://llvm.org/viewvc/llvm-project?rev=243792&view=rev
Log:
Fix an MSVC build break since it can't synthesize move ctors.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/Orc/LogicalDylib.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/LogicalDylib.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/LogicalDylib.h?rev=243792&r1=243791&r2=243792&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/LogicalDylib.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/LogicalDylib.h Fri Jul 31 16:47:07 2015
@@ -30,7 +30,9 @@ private:
struct LogicalModule {
// Make this move-only to ensure they don't get duplicated across moves of
// LogicalDylib or anything like that.
- LogicalModule(LogicalModule &&) = default;
+ LogicalModule(LogicalModule &&RHS)
+ : Resources(std::move(RHS.Resources)),
+ BaseLayerHandles(std::move(RHS.BaseLayerHandles)) {}
LogicalModule() = default;
LogicalModuleResources Resources;
BaseLayerHandleList BaseLayerHandles;
More information about the llvm-commits
mailing list