summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/cached_plan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/cached_plan.h')
-rw-r--r--src/mongo/db/exec/cached_plan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/cached_plan.h b/src/mongo/db/exec/cached_plan.h
index a1f4ec6deb4..6719b965225 100644
--- a/src/mongo/db/exec/cached_plan.h
+++ b/src/mongo/db/exec/cached_plan.h
@@ -57,7 +57,7 @@ class PlanYieldPolicy;
class CachedPlanStage final : public RequiresAllIndicesStage {
public:
CachedPlanStage(ExpressionContext* expCtx,
- Collection* collection,
+ const Collection* collection,
WorkingSet* ws,
CanonicalQuery* cq,
const QueryPlannerParams& params,