diff options
author | Nick Zolnierz <nicholas.zolnierz@mongodb.com> | 2019-04-01 14:00:46 -0400 |
---|---|---|
committer | Nick Zolnierz <nicholas.zolnierz@mongodb.com> | 2019-04-10 15:24:09 -0400 |
commit | 1b00abfda7592d701f632b9550f973c56cea818f (patch) | |
tree | 27cd9a486b20875a9efb812c0468d26f596d803f /src/mongo/db/pipeline/document_source_current_op.h | |
parent | 26404c6d4f6f37d4306d83900a7d481068f342ea (diff) | |
download | mongo-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_current_op.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_current_op.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_current_op.h b/src/mongo/db/pipeline/document_source_current_op.h index 84340c63e71..68f8493e290 100644 --- a/src/mongo/db/pipeline/document_source_current_op.h +++ b/src/mongo/db/pipeline/document_source_current_op.h @@ -133,6 +133,10 @@ public: Value serialize(boost::optional<ExplainOptions::Verbosity> explain = boost::none) const final; + void acceptVisitor(DocumentSourceVisitor* visitor) final { + visitor->visit(this); + } + private: DocumentSourceCurrentOp(const boost::intrusive_ptr<ExpressionContext>& pExpCtx, ConnMode includeIdleConnections, |