diff options
author | Arun Banala <arun.banala@mongodb.com> | 2021-05-12 14:11:44 +0100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-31 18:56:08 +0000 |
commit | 3cf2bc8bfc833f9d2b044b2b3da611819409cc8d (patch) | |
tree | b3c15657dec4570e7927a45b5d9c5066d019ecea /src/mongo/db/pipeline/document_source_change_stream_check_invalidate.h | |
parent | 5aeade8f1ed4a895f935dc7c5dbec506f837d63d (diff) | |
download | mongo-3cf2bc8bfc833f9d2b044b2b3da611819409cc8d.tar.gz |
SERVER-56669 Refactor change streams stage building logic
Diffstat (limited to 'src/mongo/db/pipeline/document_source_change_stream_check_invalidate.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_change_stream_check_invalidate.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/pipeline/document_source_change_stream_check_invalidate.h b/src/mongo/db/pipeline/document_source_change_stream_check_invalidate.h index 92647a6b48d..30dc1b6eeda 100644 --- a/src/mongo/db/pipeline/document_source_change_stream_check_invalidate.h +++ b/src/mongo/db/pipeline/document_source_change_stream_check_invalidate.h @@ -72,12 +72,10 @@ public: static boost::intrusive_ptr<DocumentSourceChangeStreamCheckInvalidate> createFromBson( BSONElement spec, const boost::intrusive_ptr<ExpressionContext>& expCtx); + static boost::intrusive_ptr<DocumentSourceChangeStreamCheckInvalidate> create( const boost::intrusive_ptr<ExpressionContext>& expCtx, - boost::optional<ResumeTokenData> startAfterInvalidate) { - return new DocumentSourceChangeStreamCheckInvalidate(expCtx, - std::move(startAfterInvalidate)); - } + const DocumentSourceChangeStreamSpec& spec); private: /** |