[ORC] More MSVC error wrangling.
authorLang Hames <lhames@gmail.com>
Mon, 11 Jan 2016 20:25:25 +0000 (20:25 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 11 Jan 2016 20:25:25 +0000 (20:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257377 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h

index 7a4489c1effefc09ed8c8f717a1efdb68b9c8155..ebf581c81fc80efbb44c7d8719e5b62d0ecbe4cc 100644 (file)
@@ -266,6 +266,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)),