summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-08-28 06:05:29 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-28 10:30:52 +0000
commite1efe794dda47eb65be3133cb567d8784a7c489b (patch)
tree03bc31841e7364d8049c9b26d869a201e5b276b4 /src/mongo/db/matcher
parent1ef4569aaefdfb19bf0a7dc43d82f2eb3e160ee9 (diff)
downloadmongo-e1efe794dda47eb65be3133cb567d8784a7c489b.tar.gz
SERVER-57765 fix windows compile
Diffstat (limited to 'src/mongo/db/matcher')
-rw-r--r--src/mongo/db/matcher/expression_algo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/expression_algo.cpp b/src/mongo/db/matcher/expression_algo.cpp
index acdd06a8a05..83ebcb33626 100644
--- a/src/mongo/db/matcher/expression_algo.cpp
+++ b/src/mongo/db/matcher/expression_algo.cpp
@@ -383,7 +383,7 @@ bool isSubsetOf(const MatchExpression* lhs, const MatchExpression* rhs) {
// geometryElement is '$geometry: {type: ... }'
auto queryGeometryElement = queryGeometryObj.firstElement();
- auto details = (MatchDetails*){nullptr};
+ MatchDetails* details = nullptr;
if (GeoMatchExpression::contains(*indexMatchExpression->getGeoContainer(),
GeoExpression::WITHIN,