summaryrefslogtreecommitdiff
path: root/src/mongo/s/cluster_identity_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/cluster_identity_loader.h')
-rw-r--r--src/mongo/s/cluster_identity_loader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/cluster_identity_loader.h b/src/mongo/s/cluster_identity_loader.h
index dbbf086d71e..b5ee563d253 100644
--- a/src/mongo/s/cluster_identity_loader.h
+++ b/src/mongo/s/cluster_identity_loader.h
@@ -31,7 +31,6 @@
#include <boost/optional.hpp>
-#include "mongo/base/disallow_copying.h"
#include "mongo/bson/oid.h"
#include "mongo/db/repl/read_concern_args.h"
#include "mongo/stdx/condition_variable.h"
@@ -48,7 +47,8 @@ class StatusWith;
* Decoration on ServiceContext used by any process in a sharded cluster to access the cluster ID.
*/
class ClusterIdentityLoader {
- MONGO_DISALLOW_COPYING(ClusterIdentityLoader);
+ ClusterIdentityLoader(const ClusterIdentityLoader&) = delete;
+ ClusterIdentityLoader& operator=(const ClusterIdentityLoader&) = delete;
public:
ClusterIdentityLoader() = default;