summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog/dist_lock_catalog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/catalog/dist_lock_catalog.h')
-rw-r--r--src/mongo/s/catalog/dist_lock_catalog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/catalog/dist_lock_catalog.h b/src/mongo/s/catalog/dist_lock_catalog.h
index a3d596b26ac..7f774915b66 100644
--- a/src/mongo/s/catalog/dist_lock_catalog.h
+++ b/src/mongo/s/catalog/dist_lock_catalog.h
@@ -29,7 +29,6 @@
#pragma once
-#include "mongo/base/disallow_copying.h"
#include "mongo/base/string_data.h"
#include "mongo/bson/oid.h"
#include "mongo/db/write_concern_options.h"
@@ -48,7 +47,8 @@ class StatusWith;
* Interface for the distributed lock operations.
*/
class DistLockCatalog {
- MONGO_DISALLOW_COPYING(DistLockCatalog);
+ DistLockCatalog(const DistLockCatalog&) = delete;
+ DistLockCatalog& operator=(const DistLockCatalog&) = delete;
public:
static const WriteConcernOptions kLocalWriteConcern;