From: Lang Hames Date: Mon, 11 Jan 2016 19:05:45 +0000 (+0000) Subject: [ORC] Explicitly delete copy constructors for RCMemoryManager::Alloc. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=57ad02c289894d4df9f9b86c67978eaab46ede27 [ORC] Explicitly delete copy constructors for RCMemoryManager::Alloc. More MSVC bot appeasement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257364 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h index 3f1f74d65fa..8b391acf0be 100644 --- a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h +++ b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h @@ -253,6 +253,9 @@ public: : Size(Size), Align(Align), Contents(new char[Size + Align - 1]), RemoteAddr(0) {} + Alloc(const Alloc&) = delete; + Alloc& operator=(const Alloc&) = delete; + Alloc(Alloc &&Other) : Size(std::move(Other.Size)), Align(std::move(Other.Align)), Contents(std::move(Other.Contents)),