summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/plan_cache_clear_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/plan_cache_clear_command.cpp')
-rw-r--r--src/mongo/db/commands/plan_cache_clear_command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/plan_cache_clear_command.cpp b/src/mongo/db/commands/plan_cache_clear_command.cpp
index 2ed23cfa12b..53879f32ff8 100644
--- a/src/mongo/db/commands/plan_cache_clear_command.cpp
+++ b/src/mongo/db/commands/plan_cache_clear_command.cpp
@@ -79,7 +79,7 @@ Status clear(OperationContext* opCtx,
auto cq = std::move(statusWithCQ.getValue());
- planCache->remove(plan_cache_key_factory::make(*cq, collection));
+ planCache->remove(plan_cache_key_factory::make<PlanCacheKey>(*cq, collection));
return Status::OK();
}