mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Provide move constructor to appease Visual C++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
e35d602838
commit
83d21e9cb2
1 file changed
+4
-1
@@ -54,7 +54,10 @@ public:
|
|||||||
|
|
||||||
// If possible, remove this and ~LogicalDylib once the work in the dtor is
|
// If possible, remove this and ~LogicalDylib once the work in the dtor is
|
||||||
// moved to members (eg: self-unregistering base layer handles).
|
// 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() {
|
LogicalModuleHandle createLogicalModule() {
|
||||||
LogicalModules.push_back(LogicalModule());
|
LogicalModules.push_back(LogicalModule());
|
||||||
|
|||||||
Reference in new issue
Block a user