diff options
Diffstat (limited to 'src/mongo/db/repl/oplog.cpp')
-rw-r--r-- | src/mongo/db/repl/oplog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog.cpp b/src/mongo/db/repl/oplog.cpp index b5a18749096..0aa23a1a07c 100644 --- a/src/mongo/db/repl/oplog.cpp +++ b/src/mongo/db/repl/oplog.cpp @@ -122,7 +122,8 @@ MONGO_FAIL_POINT_DEFINE(hangBeforeLogOpAdvancesLastApplied); * This structure contains per-service-context state related to the oplog. */ struct LocalOplogInfo { - MONGO_DISALLOW_COPYING(LocalOplogInfo); + LocalOplogInfo(const LocalOplogInfo&) = delete; + LocalOplogInfo& operator=(const LocalOplogInfo&) = delete; LocalOplogInfo() = default; // Name of the oplog collection. |