summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_coll_stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_coll_stats.h')
-rw-r--r--src/mongo/db/pipeline/document_source_coll_stats.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_coll_stats.h b/src/mongo/db/pipeline/document_source_coll_stats.h
index f637bd53455..99d2a66f20f 100644
--- a/src/mongo/db/pipeline/document_source_coll_stats.h
+++ b/src/mongo/db/pipeline/document_source_coll_stats.h
@@ -111,6 +111,8 @@ public:
Value serialize(boost::optional<ExplainOptions::Verbosity> explain = boost::none) const final;
+ void addVariableRefs(std::set<Variables::Id>* refs) const final {}
+
static boost::intrusive_ptr<DocumentSource> createFromBson(
BSONElement elem, const boost::intrusive_ptr<ExpressionContext>& pExpCtx);