summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/shard_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/client/shard_factory.h')
-rw-r--r--src/mongo/s/client/shard_factory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/client/shard_factory.h b/src/mongo/s/client/shard_factory.h
index f55bc90a751..c830a470fda 100644
--- a/src/mongo/s/client/shard_factory.h
+++ b/src/mongo/s/client/shard_factory.h
@@ -34,7 +34,6 @@
#include <memory>
#include <string>
-#include "mongo/base/disallow_copying.h"
#include "mongo/client/connection_string.h"
#include "mongo/client/remote_command_targeter_factory.h"
@@ -47,7 +46,8 @@ namespace mongo {
* An object factory for creating Shard instances via calling registered builders.
*/
class ShardFactory {
- MONGO_DISALLOW_COPYING(ShardFactory);
+ ShardFactory(const ShardFactory&) = delete;
+ ShardFactory& operator=(const ShardFactory&) = delete;
public:
using BuilderCallable =