summaryrefslogtreecommitdiff
path: root/src/mongo/s/sharding_uptime_reporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/sharding_uptime_reporter.h')
-rw-r--r--src/mongo/s/sharding_uptime_reporter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/sharding_uptime_reporter.h b/src/mongo/s/sharding_uptime_reporter.h
index 98fa36693b2..8cbdcec0c32 100644
--- a/src/mongo/s/sharding_uptime_reporter.h
+++ b/src/mongo/s/sharding_uptime_reporter.h
@@ -31,7 +31,6 @@
#include <string>
-#include "mongo/base/disallow_copying.h"
#include "mongo/stdx/thread.h"
#include "mongo/util/timer.h"
@@ -46,7 +45,8 @@ class OperationContext;
* NOTE: Not thread-safe, so it should not be used from more than one thread at a time.
*/
class ShardingUptimeReporter {
- MONGO_DISALLOW_COPYING(ShardingUptimeReporter);
+ ShardingUptimeReporter(const ShardingUptimeReporter&) = delete;
+ ShardingUptimeReporter& operator=(const ShardingUptimeReporter&) = delete;
public:
ShardingUptimeReporter();