summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/path_support_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops/path_support_test.cpp')
-rw-r--r--src/mongo/db/ops/path_support_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/path_support_test.cpp b/src/mongo/db/ops/path_support_test.cpp
index a5d5e060de9..01345564ccd 100644
--- a/src/mongo/db/ops/path_support_test.cpp
+++ b/src/mongo/db/ops/path_support_test.cpp
@@ -521,7 +521,7 @@ TEST_F(ArrayDoc, NonNumericPathInArray) {
//
static MatchExpression* makeExpr(const BSONObj& exprBSON) {
- CollatorInterface* collator = nullptr;
+ const CollatorInterface* collator = nullptr;
return MatchExpressionParser::parse(exprBSON, ExtensionsCallbackDisallowExtensions(), collator)
.getValue()
.release();