projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35d602
)
Provide move constructor to appease Visual C++.
author
Yaron Keren
<yaron.keren@gmail.com>
Sat, 1 Aug 2015 15:50:53 +0000
(15:50 +0000)
committer
Yaron Keren
<yaron.keren@gmail.com>
Sat, 1 Aug 2015 15:50:53 +0000
(15:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243836
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ExecutionEngine/Orc/LogicalDylib.h
patch
|
blob
|
history
diff --git
a/include/llvm/ExecutionEngine/Orc/LogicalDylib.h
b/include/llvm/ExecutionEngine/Orc/LogicalDylib.h
index ff5656d7b99bd25f10ea6b46a3c577d1556f1911..79e8a2e36dc7495bbbecb0f0a093dc570d209af9 100644
(file)
--- a/
include/llvm/ExecutionEngine/Orc/LogicalDylib.h
+++ b/
include/llvm/ExecutionEngine/Orc/LogicalDylib.h
@@
-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());