summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_tail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/sync_tail.cpp')
-rw-r--r--src/mongo/db/repl/sync_tail.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/sync_tail.cpp b/src/mongo/db/repl/sync_tail.cpp
index 5870c6e57e9..399bede7329 100644
--- a/src/mongo/db/repl/sync_tail.cpp
+++ b/src/mongo/db/repl/sync_tail.cpp
@@ -570,7 +570,8 @@ void tryToGoLiveAsASecondary(OperationContext* opCtx,
} // namespace
class SyncTail::OpQueueBatcher {
- MONGO_DISALLOW_COPYING(OpQueueBatcher);
+ OpQueueBatcher(const OpQueueBatcher&) = delete;
+ OpQueueBatcher& operator=(const OpQueueBatcher&) = delete;
public:
OpQueueBatcher(SyncTail* syncTail, StorageInterface* storageInterface, OplogBuffer* oplogBuffer)