summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_change_stream_check_invalidate.h
diff options
context:
space:
mode:
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.h6
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:
/**