forked from OSchip/llvm-project
Provide move constructor to appease Visual C++.
llvm-svn: 243836
This commit is contained in:
parent
7a400d9af4
commit
eb35a7b797
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue