summaryrefslogtreecommitdiff
path: root/src/mongo/db/server_transactions_metrics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/server_transactions_metrics.h')
-rw-r--r--src/mongo/db/server_transactions_metrics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/server_transactions_metrics.h b/src/mongo/db/server_transactions_metrics.h
index c6648bc2b01..035e9ad6ee0 100644
--- a/src/mongo/db/server_transactions_metrics.h
+++ b/src/mongo/db/server_transactions_metrics.h
@@ -43,7 +43,8 @@ namespace mongo {
* Container for server-wide multi-document transaction statistics.
*/
class ServerTransactionsMetrics {
- MONGO_DISALLOW_COPYING(ServerTransactionsMetrics);
+ ServerTransactionsMetrics(const ServerTransactionsMetrics&) = delete;
+ ServerTransactionsMetrics& operator=(const ServerTransactionsMetrics&) = delete;
public:
ServerTransactionsMetrics() = default;