[Scummvm-git-logs] scummvm master -> 09db135b3a796e9f03c5391f1f4ab3dcfb75ec11
grisenti
noreply at scummvm.org
Sat Jun 3 21:09:29 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
09db135b3a COMMON: Fix documentation for Common::RBTree
Commit: 09db135b3a796e9f03c5391f1f4ab3dcfb75ec11
https://github.com/scummvm/scummvm/commit/09db135b3a796e9f03c5391f1f4ab3dcfb75ec11
Author: grisenti (emanuele at grisenti.net)
Date: 2023-06-03T23:09:19+02:00
Commit Message:
COMMON: Fix documentation for Common::RBTree
Changed paths:
common/rb_tree.h
diff --git a/common/rb_tree.h b/common/rb_tree.h
index 7526dbc6809..12498ba8ced 100644
--- a/common/rb_tree.h
+++ b/common/rb_tree.h
@@ -162,7 +162,7 @@ public:
_leftmost = nullptr;
}
- /** Return an iterator pointing to the last element in the tree. */
+ /** Return an iterator pointing to the first element in the tree. */
BasicIterator begin() { return BasicIterator{_leftmost}; }
/** Return a const iterator pointing to the first element of the tree. */
@@ -288,7 +288,7 @@ public:
}
/**
- * Erase the elements from @p first to @p last and return an iterator pointing to the next element in the map.
+ * Erase the elements from @p first to @p last and return an iterator pointing to the next element in the tree.
* @note
* If [first, last) is not a valid range for the tree, the behaviour is undefined.
*/
More information about the Scummvm-git-logs
mailing list