summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/server_status_metric.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/server_status_metric.cpp')
-rw-r--r--src/mongo/db/commands/server_status_metric.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/server_status_metric.cpp b/src/mongo/db/commands/server_status_metric.cpp
index d56a2970ec6..8e8b749b729 100644
--- a/src/mongo/db/commands/server_status_metric.cpp
+++ b/src/mongo/db/commands/server_status_metric.cpp
@@ -37,7 +37,7 @@ using std::string;
ServerStatusMetric::ServerStatusMetric(const string& nameIn)
: _name(nameIn), _leafName(_parseLeafName(nameIn)) {
- if (MetricTree::theMetricTree == 0)
+ if (MetricTree::theMetricTree == nullptr)
MetricTree::theMetricTree = new MetricTree();
MetricTree::theMetricTree->add(this);
}