summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer_impl.h')
-rw-r--r--src/mongo/db/op_observer_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_impl.h b/src/mongo/db/op_observer_impl.h
index b2a4d52a223..29b319d77c7 100644
--- a/src/mongo/db/op_observer_impl.h
+++ b/src/mongo/db/op_observer_impl.h
@@ -34,7 +34,8 @@
namespace mongo {
class OpObserverImpl : public OpObserver {
- MONGO_DISALLOW_COPYING(OpObserverImpl);
+ OpObserverImpl(const OpObserverImpl&) = delete;
+ OpObserverImpl& operator=(const OpObserverImpl&) = delete;
public:
OpObserverImpl() = default;