summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_unwind.h
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2019-04-01 14:00:46 -0400
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2019-04-10 15:24:09 -0400
commit1b00abfda7592d701f632b9550f973c56cea818f (patch)
tree27cd9a486b20875a9efb812c0468d26f596d803f /src/mongo/db/pipeline/document_source_unwind.h
parent26404c6d4f6f37d4306d83900a7d481068f342ea (diff)
downloadmongo-1b00abfda7592d701f632b9550f973c56cea818f.tar.gz
SERVER-39403 Implement visitor for DocumentSource as precursor work for
encryption in agg
Diffstat (limited to 'src/mongo/db/pipeline/document_source_unwind.h')
-rw-r--r--src/mongo/db/pipeline/document_source_unwind.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_unwind.h b/src/mongo/db/pipeline/document_source_unwind.h
index 7948f6fdcd6..3904cc602de 100644
--- a/src/mongo/db/pipeline/document_source_unwind.h
+++ b/src/mongo/db/pipeline/document_source_unwind.h
@@ -90,6 +90,10 @@ public:
return _indexPath;
}
+ void acceptVisitor(DocumentSourceVisitor* visitor) final {
+ visitor->visit(this);
+ }
+
private:
DocumentSourceUnwind(const boost::intrusive_ptr<ExpressionContext>& pExpCtx,
const FieldPath& fieldPath,