diff options
Diffstat (limited to 'src/mongo/db/query/classic_plan_cache.h')
-rw-r--r-- | src/mongo/db/query/classic_plan_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/classic_plan_cache.h b/src/mongo/db/query/classic_plan_cache.h index 8d2e6889bfb..be87fc41763 100644 --- a/src/mongo/db/query/classic_plan_cache.h +++ b/src/mongo/db/query/classic_plan_cache.h @@ -235,7 +235,7 @@ using PlanCacheEntry = PlanCacheEntryBase<SolutionCacheData, plan_cache_debug_in using CachedSolution = CachedPlanHolder<SolutionCacheData, plan_cache_debug_info::DebugInfo>; struct BudgetEstimator { - size_t operator()(const std::shared_ptr<const PlanCacheEntry>&) { + size_t operator()(const PlanCacheKey&, const std::shared_ptr<const PlanCacheEntry>&) { return 1; } }; |