summaryrefslogtreecommitdiff
path: root/src/mongo/client/replica_set_monitor_read_preference_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/replica_set_monitor_read_preference_test.cpp')
-rw-r--r--src/mongo/client/replica_set_monitor_read_preference_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/client/replica_set_monitor_read_preference_test.cpp b/src/mongo/client/replica_set_monitor_read_preference_test.cpp
index 3f738d6cd41..374a3f5f9c5 100644
--- a/src/mongo/client/replica_set_monitor_read_preference_test.cpp
+++ b/src/mongo/client/replica_set_monitor_read_preference_test.cpp
@@ -589,7 +589,7 @@ public:
virtual ~MultiTagsTest() = default;
const TagSet& getMatchesFirstTagSet() {
- if (matchFirstTags.get() != NULL) {
+ if (matchFirstTags.get() != nullptr) {
return *matchFirstTags;
}
@@ -604,7 +604,7 @@ public:
}
const TagSet& getMatchesSecondTagSet() {
- if (matchSecondTags.get() != NULL) {
+ if (matchSecondTags.get() != nullptr) {
return *matchSecondTags;
}
@@ -621,7 +621,7 @@ public:
}
const TagSet& getMatchesLastTagSet() {
- if (matchLastTags.get() != NULL) {
+ if (matchLastTags.get() != nullptr) {
return *matchLastTags;
}
@@ -642,7 +642,7 @@ public:
}
const TagSet& getMatchesPriTagSet() {
- if (matchPriTags.get() != NULL) {
+ if (matchPriTags.get() != nullptr) {
return *matchPriTags;
}