mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 21:57:55 +00:00
[ORC] Pacify MSVC by adding explicit move construction/assignment to
OrcRemoteTargetServer::Allocator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257350 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f1e6e63761
commit
392fee2351
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user