[ORC] Explicitly delete copy constructors for RCMemoryManager::Alloc.
[oota-llvm.git] / include / llvm / ExecutionEngine / Orc / OrcRemoteTargetClient.h
index 3f1f74d65faecd2e32447090d40cb43e0578e2ef..8b391acf0be6246f3295eac5ba771ff85a683af0 100644 (file)
@@ -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)),