diff options
Diffstat (limited to 'src/mongo/s/commands')
-rw-r--r-- | src/mongo/s/commands/cluster_current_op.cpp | 3 | ||||
-rw-r--r-- | src/mongo/s/commands/cluster_index_filter_cmd.cpp | 3 | ||||
-rw-r--r-- | src/mongo/s/commands/cluster_plan_cache_cmd.cpp | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/mongo/s/commands/cluster_current_op.cpp b/src/mongo/s/commands/cluster_current_op.cpp index 8108201bcb0..2d72bd1f96d 100644 --- a/src/mongo/s/commands/cluster_current_op.cpp +++ b/src/mongo/s/commands/cluster_current_op.cpp @@ -44,7 +44,8 @@ namespace mongo { namespace { class ClusterCurrentOpCommand final : public CurrentOpCommandBase { - MONGO_DISALLOW_COPYING(ClusterCurrentOpCommand); + ClusterCurrentOpCommand(const ClusterCurrentOpCommand&) = delete; + ClusterCurrentOpCommand& operator=(const ClusterCurrentOpCommand&) = delete; public: ClusterCurrentOpCommand() = default; diff --git a/src/mongo/s/commands/cluster_index_filter_cmd.cpp b/src/mongo/s/commands/cluster_index_filter_cmd.cpp index 158ebaa9e91..57de3734343 100644 --- a/src/mongo/s/commands/cluster_index_filter_cmd.cpp +++ b/src/mongo/s/commands/cluster_index_filter_cmd.cpp @@ -43,7 +43,8 @@ namespace { * than forwarding the commands to all shards and combining the results. */ class ClusterIndexFilterCmd : public BasicCommand { - MONGO_DISALLOW_COPYING(ClusterIndexFilterCmd); + ClusterIndexFilterCmd(const ClusterIndexFilterCmd&) = delete; + ClusterIndexFilterCmd& operator=(const ClusterIndexFilterCmd&) = delete; public: /** diff --git a/src/mongo/s/commands/cluster_plan_cache_cmd.cpp b/src/mongo/s/commands/cluster_plan_cache_cmd.cpp index 55f7de06db8..79a77f5b956 100644 --- a/src/mongo/s/commands/cluster_plan_cache_cmd.cpp +++ b/src/mongo/s/commands/cluster_plan_cache_cmd.cpp @@ -50,7 +50,8 @@ using std::vector; * forwarding the commands to all shards and combining the results. */ class ClusterPlanCacheCmd : public BasicCommand { - MONGO_DISALLOW_COPYING(ClusterPlanCacheCmd); + ClusterPlanCacheCmd(const ClusterPlanCacheCmd&) = delete; + ClusterPlanCacheCmd& operator=(const ClusterPlanCacheCmd&) = delete; public: virtual ~ClusterPlanCacheCmd() {} |