mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 20:22:18 +03: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
@ -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…
Reference in New Issue
Block a user