[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.

llvm-svn: 266665
This commit is contained in:
Lang Hames 2016-04-18 20:56:22 +00:00
parent dad52cee4b
commit 3b2fd0a205
1 changed files with 3 additions and 0 deletions

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)) {}