diff options
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r-- | src/mongo/dbtests/dbtests.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/dbtests/dbtests.h b/src/mongo/dbtests/dbtests.h index d86948dbd24..e64772a11b7 100644 --- a/src/mongo/dbtests/dbtests.h +++ b/src/mongo/dbtests/dbtests.h @@ -69,7 +69,8 @@ Status createIndexFromSpec(OperationContext* opCtx, StringData ns, const BSONObj * the collection). */ class WriteContextForTests { - MONGO_DISALLOW_COPYING(WriteContextForTests); + WriteContextForTests(const WriteContextForTests&) = delete; + WriteContextForTests& operator=(const WriteContextForTests&) = delete; public: WriteContextForTests(OperationContext* opCtx, StringData ns); |