Skip to content

Commit ca904a1

Browse files
author
Martin Neupauer
committed
SERVER-40968 Core DocumentStorage changes for Document/Value optimization
1 parent 164e785 commit ca904a1

10 files changed

+611
-236
lines changed

src/mongo/bson/bsonobj.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,13 +710,13 @@ class BSONObjIterator {
710710
}
711711

712712
/** @return true if more elements exist to be enumerated. */
713-
bool more() {
713+
bool more() const {
714714
return _pos < _theend;
715715
}
716716

717717
/** @return true if more elements exist to be enumerated INCLUDING the EOO element which is
718718
* always at the end. */
719-
bool moreWithEOO() {
719+
bool moreWithEOO() const {
720720
return _pos <= _theend;
721721
}
722722

0 commit comments

Comments
 (0)