diff options
Diffstat (limited to 'src/mongo/db/stats')
-rw-r--r-- | src/mongo/db/stats/server_read_concern_metrics.h | 3 | ||||
-rw-r--r-- | src/mongo/db/stats/server_write_concern_metrics.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/stats/server_read_concern_metrics.h b/src/mongo/db/stats/server_read_concern_metrics.h index c1fb8626d95..1a247f79df6 100644 --- a/src/mongo/db/stats/server_read_concern_metrics.h +++ b/src/mongo/db/stats/server_read_concern_metrics.h @@ -40,7 +40,8 @@ namespace mongo { * Container for server-wide statistics on readConcern levels used by operations. */ class ServerReadConcernMetrics { - MONGO_DISALLOW_COPYING(ServerReadConcernMetrics); + ServerReadConcernMetrics(const ServerReadConcernMetrics&) = delete; + ServerReadConcernMetrics& operator=(const ServerReadConcernMetrics&) = delete; public: ServerReadConcernMetrics() = default; diff --git a/src/mongo/db/stats/server_write_concern_metrics.h b/src/mongo/db/stats/server_write_concern_metrics.h index 2a0c67f911c..e6faaaf1641 100644 --- a/src/mongo/db/stats/server_write_concern_metrics.h +++ b/src/mongo/db/stats/server_write_concern_metrics.h @@ -39,7 +39,8 @@ namespace mongo { * Container for server-wide statistics on writeConcern levels used by operations. */ class ServerWriteConcernMetrics { - MONGO_DISALLOW_COPYING(ServerWriteConcernMetrics); + ServerWriteConcernMetrics(const ServerWriteConcernMetrics&) = delete; + ServerWriteConcernMetrics& operator=(const ServerWriteConcernMetrics&) = delete; public: ServerWriteConcernMetrics() = default; |