From 83082b12b724846800ea605810ba11507c370d8a Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 13 Apr 2022 19:01:28 +0200 Subject: [PATCH] LibWeb: Make reverse iterators work for const NonnullPtrVectors --- AK/NonnullPtrVector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/NonnullPtrVector.h b/AK/NonnullPtrVector.h index c95e8c2a506..6471dd3586a 100644 --- a/AK/NonnullPtrVector.h +++ b/AK/NonnullPtrVector.h @@ -32,7 +32,7 @@ public: using ConstIterator = SimpleIterator; using Iterator = SimpleIterator; using ReverseIterator = SimpleReverseIterator; - using ReverseConstIterator = SimpleReverseIterator; + using ReverseConstIterator = SimpleReverseIterator; ALWAYS_INLINE constexpr ConstIterator begin() const { return ConstIterator::begin(*this); } ALWAYS_INLINE constexpr Iterator begin() { return Iterator::begin(*this); }