git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243792
91177308-0d34-0410-b5e6-
96231b3b80d8
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;