diff options
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.h | 6 |
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 e1db4cf732c..d72b0a22ac8 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, - const SerializationOptions& opts = SerializationOptions{}) const final override; + boost::optional<ExplainOptions::Verbosity> explain = boost::none) const override; private: DocumentSourcePlanCacheStats(const boost::intrusive_ptr<ExpressionContext>& expCtx); @@ -125,8 +125,8 @@ private: GetNextResult doGetNext() final; Value serialize( - const SerializationOptions& opts = SerializationOptions{}) const final override { - MONGO_UNREACHABLE_TASSERT(7484303); // Should call serializeToArray instead. + boost::optional<ExplainOptions::Verbosity> explain = boost::none) const override { + MONGO_UNREACHABLE; // Should call serializeToArray instead. } // If running through mongos in a sharded cluster, stores the shard name so that it can be |
