summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/timestamp_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/timestamp_block.h')
-rw-r--r--src/mongo/db/repl/timestamp_block.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/timestamp_block.h b/src/mongo/db/repl/timestamp_block.h
index 1f512128d93..4d47ec3146a 100644
--- a/src/mongo/db/repl/timestamp_block.h
+++ b/src/mongo/db/repl/timestamp_block.h
@@ -29,7 +29,6 @@
#pragma once
-#include "mongo/base/disallow_copying.h"
#include "mongo/bson/timestamp.h"
#include "mongo/db/operation_context.h"
@@ -41,7 +40,8 @@ namespace mongo {
* TimestampBlock is in scope.
*/
class TimestampBlock {
- MONGO_DISALLOW_COPYING(TimestampBlock);
+ TimestampBlock(const TimestampBlock&) = delete;
+ TimestampBlock& operator=(const TimestampBlock&) = delete;
public:
TimestampBlock(OperationContext* opCtx, Timestamp ts);