Provide move constructor to appease Visual C++.

llvm-svn: 243836
This commit is contained in:
Yaron Keren 2015-08-01 15:50:53 +00:00
parent 7a400d9af4
commit eb35a7b797
1 changed files with 4 additions and 1 deletions

View 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());