mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
LibWeb: Make reverse iterators work for const NonnullPtrVectors
This commit is contained in:
parent
6712bbc0ee
commit
83082b12b7
Notes:
sideshowbarker
2024-07-17 11:50:07 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/83082b12b7
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ public:
|
|||
using ConstIterator = SimpleIterator<const NonnullPtrVector, const T>;
|
||||
using Iterator = SimpleIterator<NonnullPtrVector, T>;
|
||||
using ReverseIterator = SimpleReverseIterator<NonnullPtrVector, T>;
|
||||
using ReverseConstIterator = SimpleReverseIterator<NonnullPtrVector, T const>;
|
||||
using ReverseConstIterator = SimpleReverseIterator<NonnullPtrVector const, T const>;
|
||||
|
||||
ALWAYS_INLINE constexpr ConstIterator begin() const { return ConstIterator::begin(*this); }
|
||||
ALWAYS_INLINE constexpr Iterator begin() { return Iterator::begin(*this); }
|
||||
|
|
Loading…
Add table
Reference in a new issue