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:
f1e6e63
)
[ORC] Pacify MSVC by adding explicit move construction/assignment to
author
Lang Hames
<lhames@gmail.com>
Mon, 11 Jan 2016 16:56:24 +0000
(16:56 +0000)
committer
Lang Hames
<lhames@gmail.com>
Mon, 11 Jan 2016 16:56:24 +0000
(16:56 +0000)
OrcRemoteTargetServer::Allocator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257350
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
patch
|
blob
|
history
diff --git
a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
index af4eb8e5d63b63f373cd0004572650f14d108219..aa063a3f94460436e5cd68b2be5a60b1fe4eb48d 100644
(file)
--- a/
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
+++ b/
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
@@
-111,8
+111,11
@@
public:
private:
struct Allocator {
Allocator() = default;
- Allocator(Allocator &&) = default;
- Allocator &operator=(Allocator &&) = default;
+ Allocator(Allocator &&Other) : Allocs(std::move(Other.Allocs)) {}
+ Allocator &operator=(Allocator &&Other) {
+ Allocs = std::move(Other.Allocs);
+ return *this;
+ }
~Allocator() {
for (auto &Alloc : Allocs)