diff options
Diffstat (limited to 'src/mongo/db/exec/change_stream_proxy.h')
-rw-r--r-- | src/mongo/db/exec/change_stream_proxy.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/exec/change_stream_proxy.h b/src/mongo/db/exec/change_stream_proxy.h index 3659dff3cbc..0cfc9d8d825 100644 --- a/src/mongo/db/exec/change_stream_proxy.h +++ b/src/mongo/db/exec/change_stream_proxy.h @@ -77,13 +77,13 @@ public: } protected: - boost::optional<BSONObj> getNextBson() final; + boost::optional<Document> getNext() final; private: /** - * Verifies that the docs's resume token has not been modified, then converts the doc to BSON. + * Verifies that the docs's resume token has not been modified. */ - BSONObj _validateAndConvertToBSON(const Document& event) const; + void _validateResumeToken(const Document& event) const; /** * Set the speculative majority read timestamp if we have scanned up to a certain oplog |