diff options
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r-- | src/mongo/db/curop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h index 26b295e45a6..b450928814b 100644 --- a/src/mongo/db/curop.h +++ b/src/mongo/db/curop.h @@ -30,7 +30,6 @@ #pragma once -#include "mongo/base/disallow_copying.h" #include "mongo/db/clientcursor.h" #include "mongo/db/commands.h" #include "mongo/db/cursor_id.h" @@ -221,7 +220,8 @@ public: * any synchronization. */ class CurOp { - MONGO_DISALLOW_COPYING(CurOp); + CurOp(const CurOp&) = delete; + CurOp& operator=(const CurOp&) = delete; public: static CurOp* get(const OperationContext* opCtx); |