summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_exchange.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_exchange.h')
-rw-r--r--src/mongo/db/pipeline/document_source_exchange.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_exchange.h b/src/mongo/db/pipeline/document_source_exchange.h
index 4b6b821be82..1c4624f78a4 100644
--- a/src/mongo/db/pipeline/document_source_exchange.h
+++ b/src/mongo/db/pipeline/document_source_exchange.h
@@ -247,6 +247,10 @@ public:
return _consumerId;
}
+ void acceptVisitor(DocumentSourceVisitor* visitor) final {
+ visitor->visit(this);
+ }
+
private:
boost::intrusive_ptr<Exchange> _exchange;