summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/noop_writer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/noop_writer.cpp')
-rw-r--r--src/mongo/db/repl/noop_writer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/noop_writer.cpp b/src/mongo/db/repl/noop_writer.cpp
index 90b15f0f4ac..6897acab22c 100644
--- a/src/mongo/db/repl/noop_writer.cpp
+++ b/src/mongo/db/repl/noop_writer.cpp
@@ -60,7 +60,8 @@ const auto kMsgObj = BSON("msg"
* Runs the noopWrite argument with waitTime period until its destroyed.
*/
class NoopWriter::PeriodicNoopRunner {
- MONGO_DISALLOW_COPYING(PeriodicNoopRunner);
+ PeriodicNoopRunner(const PeriodicNoopRunner&) = delete;
+ PeriodicNoopRunner& operator=(const PeriodicNoopRunner&) = delete;
using NoopWriteFn = stdx::function<void(OperationContext*)>;