diff --git a/include/llvm/ExecutionEngine/Orc/RPCUtils.h b/include/llvm/ExecutionEngine/Orc/RPCUtils.h index f680b9cd66f..ba1467ea26d 100644 --- a/include/llvm/ExecutionEngine/Orc/RPCUtils.h +++ b/include/llvm/ExecutionEngine/Orc/RPCUtils.h @@ -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)) {}