summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/classic_plan_cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/classic_plan_cache.cpp')
-rw-r--r--src/mongo/db/query/classic_plan_cache.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mongo/db/query/classic_plan_cache.cpp b/src/mongo/db/query/classic_plan_cache.cpp
index 3acad6c9510..6a373a0c76d 100644
--- a/src/mongo/db/query/classic_plan_cache.cpp
+++ b/src/mongo/db/query/classic_plan_cache.cpp
@@ -37,17 +37,11 @@ ServerStatusMetricField<Counter64> totalPlanCacheSizeEstimateBytesMetric(
"query.planCacheTotalSizeEstimateBytes", &PlanCacheEntry::planCacheTotalSizeEstimateBytes);
} // namespace
-
std::ostream& operator<<(std::ostream& stream, const PlanCacheKey& key) {
- stream << key.stringData();
+ stream << key.toString();
return stream;
}
-StringBuilder& operator<<(StringBuilder& builder, const PlanCacheKey& key) {
- builder << key.stringData();
- return builder;
-}
-
void PlanCacheIndexTree::setIndexEntry(const IndexEntry& ie) {
entry = std::make_unique<IndexEntry>(ie);
}