summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_count.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/query_stage_count.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_count.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/query_stage_count.cpp b/src/mongo/dbtests/query_stage_count.cpp
index 82a645bdcde..e24e4047ce2 100644
--- a/src/mongo/dbtests/query_stage_count.cpp
+++ b/src/mongo/dbtests/query_stage_count.cpp
@@ -145,7 +145,7 @@ public:
unique_ptr<WorkingSet> ws(new WorkingSet);
- CollatorInterface* collator = nullptr;
+ const CollatorInterface* collator = nullptr;
StatusWithMatchExpression statusWithMatcher = MatchExpressionParser::parse(
request.getQuery(), ExtensionsCallbackDisallowExtensions(), collator);
ASSERT(statusWithMatcher.isOK());