summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_planner.cpp')
-rw-r--r--src/mongo/db/query/query_planner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_planner.cpp b/src/mongo/db/query/query_planner.cpp
index 18d7f3543a7..13a9fe6129b 100644
--- a/src/mongo/db/query/query_planner.cpp
+++ b/src/mongo/db/query/query_planner.cpp
@@ -1124,7 +1124,7 @@ StatusWith<std::vector<std::unique_ptr<QuerySolution>>> QueryPlanner::plan(
StatusWith<QueryPlanner::SubqueriesPlanningResult> QueryPlanner::planSubqueries(
OperationContext* opCtx,
- const Collection* collection,
+ const CollectionPtr& collection,
const PlanCache* planCache,
const CanonicalQuery& query,
const QueryPlannerParams& params) {