summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_plan_cache_stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_plan_cache_stats.h')
-rw-r--r--src/mongo/db/pipeline/document_source_plan_cache_stats.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/document_source_plan_cache_stats.h b/src/mongo/db/pipeline/document_source_plan_cache_stats.h
index d72b0a22ac8..e1db4cf732c 100644
--- a/src/mongo/db/pipeline/document_source_plan_cache_stats.h
+++ b/src/mongo/db/pipeline/document_source_plan_cache_stats.h
@@ -117,7 +117,7 @@ public:
void serializeToArray(
std::vector<Value>& array,
- boost::optional<ExplainOptions::Verbosity> explain = boost::none) const override;
+ const SerializationOptions& opts = SerializationOptions{}) const final override;
private:
DocumentSourcePlanCacheStats(const boost::intrusive_ptr<ExpressionContext>& expCtx);
@@ -125,8 +125,8 @@ private:
GetNextResult doGetNext() final;
Value serialize(
- boost::optional<ExplainOptions::Verbosity> explain = boost::none) const override {
- MONGO_UNREACHABLE; // Should call serializeToArray instead.
+ const SerializationOptions& opts = SerializationOptions{}) const final override {
+ MONGO_UNREACHABLE_TASSERT(7484303); // Should call serializeToArray instead.
}
// If running through mongos in a sharded cluster, stores the shard name so that it can be