[Orc] Explicitly delete RPC::SequenceNumberManager's copy-constructor and

copy-assignment operator.

MSVC is trying to synthesize these and failing. Hopefully explicitly deleting
them will help.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266665 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2016-04-18 20:56:22 +00:00
parent 6320b788a2
commit a6af3574e1

View File

@ -549,6 +549,9 @@ private:
public:
SequenceNumberManager() = default;
SequenceNumberManager(const SequenceNumberManager&) = delete;
SequenceNumberManager& operator=(const SequenceNumberManager&) = delete;
SequenceNumberManager(SequenceNumberManager &&Other)
: NextSequenceNumber(std::move(Other.NextSequenceNumber)),
FreeSequenceNumbers(std::move(Other.FreeSequenceNumbers)) {}