summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/cursor_response.h
diff options
context:
space:
mode:
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;