summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/roll_back_local_operations.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/roll_back_local_operations.h')
-rw-r--r--src/mongo/db/repl/roll_back_local_operations.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/roll_back_local_operations.h b/src/mongo/db/repl/roll_back_local_operations.h
index c1c44578ef2..7d21b2feb74 100644
--- a/src/mongo/db/repl/roll_back_local_operations.h
+++ b/src/mongo/db/repl/roll_back_local_operations.h
@@ -29,7 +29,6 @@
#pragma once
-#include "mongo/base/disallow_copying.h"
#include "mongo/base/status.h"
#include "mongo/base/status_with.h"
#include "mongo/bson/bsonobj.h"
@@ -52,7 +51,8 @@ MONGO_FAIL_POINT_DECLARE(rollbackHangBeforeFinish);
MONGO_FAIL_POINT_DECLARE(rollbackHangThenFailAfterWritingMinValid);
class RollBackLocalOperations {
- MONGO_DISALLOW_COPYING(RollBackLocalOperations);
+ RollBackLocalOperations(const RollBackLocalOperations&) = delete;
+ RollBackLocalOperations& operator=(const RollBackLocalOperations&) = delete;
public:
class RollbackCommonPoint {