summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/cursor_response.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@mongodb.com>2022-01-19 16:09:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-19 17:18:45 +0000
commitd91386c870e630929899dfd8fffd9b6d6658f482 (patch)
tree366d62a6034ebd7929c06910e78ecb39cdd23d01 /src/mongo/db/query/cursor_response.h
parent661d4df5bff6b1305c1f316cdd1c661dcbbcd938 (diff)
downloadmongo-d91386c870e630929899dfd8fffd9b6d6658f482.tar.gz
SERVER-58530 Remove unused code related to nReturnedSoFar()
Diffstat (limited to 'src/mongo/db/query/cursor_response.h')
-rw-r--r--src/mongo/db/query/cursor_response.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/query/cursor_response.h b/src/mongo/db/query/cursor_response.h
index 2fe9f131940..ce1950fe104 100644
--- a/src/mongo/db/query/cursor_response.h
+++ b/src/mongo/db/query/cursor_response.h
@@ -202,7 +202,6 @@ public:
CursorId cursorId,
std::vector<BSONObj> batch,
boost::optional<Timestamp> atClusterTime = boost::none,
- boost::optional<long long> numReturnedSoFar = boost::none,
boost::optional<BSONObj> postBatchResumeToken = boost::none,
boost::optional<BSONObj> writeConcernError = boost::none,
boost::optional<BSONObj> varsField = boost::none,
@@ -232,10 +231,6 @@ public:
return std::move(_batch);
}
- boost::optional<long long> getNumReturnedSoFar() const {
- return _numReturnedSoFar;
- }
-
boost::optional<BSONObj> getPostBatchResumeToken() const {
return _postBatchResumeToken;
}
@@ -274,7 +269,6 @@ private:
CursorId _cursorId;
std::vector<BSONObj> _batch;
boost::optional<Timestamp> _atClusterTime;
- boost::optional<long long> _numReturnedSoFar;
boost::optional<BSONObj> _postBatchResumeToken;
boost::optional<BSONObj> _writeConcernError;
boost::optional<BSONObj> _varsField;