summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_geo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_geo.cpp')
-rw-r--r--src/mongo/db/matcher/expression_geo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/matcher/expression_geo.cpp b/src/mongo/db/matcher/expression_geo.cpp
index 18e38b319f0..67ee37060d7 100644
--- a/src/mongo/db/matcher/expression_geo.cpp
+++ b/src/mongo/db/matcher/expression_geo.cpp
@@ -89,7 +89,7 @@ Status GeoExpression::parseQuery(const BSONObj& obj) {
}
}
- if (geoContainer == NULL) {
+ if (geoContainer == nullptr) {
return Status(ErrorCodes::BadValue, "geo query doesn't have any geometry");
}
@@ -376,7 +376,7 @@ void GeoMatchExpression::debugString(StringBuilder& debug, int indentationLevel)
debug << "GEO raw = " << builder.obj().toString();
MatchExpression::TagData* td = getTag();
- if (NULL != td) {
+ if (nullptr != td) {
debug << " ";
td->debugString(&debug);
}
@@ -434,7 +434,7 @@ void GeoNearMatchExpression::debugString(StringBuilder& debug, int indentationLe
_debugAddSpace(debug, indentationLevel);
debug << "GEONEAR " << _query->toString();
MatchExpression::TagData* td = getTag();
- if (NULL != td) {
+ if (nullptr != td) {
debug << " ";
td->debugString(&debug);
}