diff options
Diffstat (limited to 'src/mongo/rpc/op_msg.h')
-rw-r--r-- | src/mongo/rpc/op_msg.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/rpc/op_msg.h b/src/mongo/rpc/op_msg.h index 763b674ec50..86bfa8d130e 100644 --- a/src/mongo/rpc/op_msg.h +++ b/src/mongo/rpc/op_msg.h @@ -160,7 +160,8 @@ struct OpMsgRequest : public OpMsg { * sent. */ class OpMsgBuilder { - MONGO_DISALLOW_COPYING(OpMsgBuilder); + OpMsgBuilder(const OpMsgBuilder&) = delete; + OpMsgBuilder& operator=(const OpMsgBuilder&) = delete; public: OpMsgBuilder() { @@ -282,7 +283,8 @@ private: * docSeq.done(); // Or just let it go out of scope. */ class OpMsgBuilder::DocSequenceBuilder { - MONGO_DISALLOW_COPYING(DocSequenceBuilder); + DocSequenceBuilder(const DocSequenceBuilder&) = delete; + DocSequenceBuilder& operator=(const DocSequenceBuilder&) = delete; public: DocSequenceBuilder(DocSequenceBuilder&& other) |