summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/shard_remote.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/client/shard_remote.h')
-rw-r--r--src/mongo/s/client/shard_remote.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/client/shard_remote.h b/src/mongo/s/client/shard_remote.h
index b5d9b4a7c2e..e58ec0a8809 100644
--- a/src/mongo/s/client/shard_remote.h
+++ b/src/mongo/s/client/shard_remote.h
@@ -33,7 +33,6 @@
#include "mongo/s/client/shard.h"
-#include "mongo/base/disallow_copying.h"
#include "mongo/executor/task_executor.h"
#include "mongo/stdx/mutex.h"
@@ -44,7 +43,8 @@ namespace mongo {
* the shard (if replica set).
*/
class ShardRemote : public Shard {
- MONGO_DISALLOW_COPYING(ShardRemote);
+ ShardRemote(const ShardRemote&) = delete;
+ ShardRemote& operator=(const ShardRemote&) = delete;
public:
/**