summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonobjiterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/bsonobjiterator.h')
-rw-r--r--src/mongo/bson/bsonobjiterator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/bson/bsonobjiterator.h b/src/mongo/bson/bsonobjiterator.h
index 402cd244e28..dfd3326aedf 100644
--- a/src/mongo/bson/bsonobjiterator.h
+++ b/src/mongo/bson/bsonobjiterator.h
@@ -70,12 +70,14 @@ public:
return _pos < _theend;
}
- /** @return true if more elements exist to be enumerated INCLUDING the EOO element which is always at the end. */
+ /** @return true if more elements exist to be enumerated INCLUDING the EOO element which is
+ * always at the end. */
bool moreWithEOO() {
return _pos <= _theend;
}
- /** @return the next element in the object. For the final element, element.eoo() will be true. */
+ /** @return the next element in the object. For the final element, element.eoo() will be true.
+ * */
BSONElement next(bool checkEnd) {
verify(_pos <= _theend);