mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
Everywhere: Use east const in more places
These changes are compatible with clang-format 16 and will be mandatory when we eventually bump clang-format version. So, since there are no real downsides, let's commit them now.
This commit is contained in:
parent
5ef6df79ed
commit
5ed7cd6e32
Notes:
sideshowbarker
2024-07-16 23:38:54 +09:00
Author: https://github.com/DanShaders
Commit: 5ed7cd6e32
Pull-request: https://github.com/SerenityOS/serenity/pull/24014
175 changed files with 353 additions and 353 deletions
|
@ -205,7 +205,7 @@ public:
|
|||
Iterator begin() { return Iterator(m_head); }
|
||||
Iterator end() { return {}; }
|
||||
|
||||
using ConstIterator = SinglyLinkedListIterator<const SinglyLinkedList, T const>;
|
||||
using ConstIterator = SinglyLinkedListIterator<SinglyLinkedList const, T const>;
|
||||
friend ConstIterator;
|
||||
ConstIterator begin() const { return ConstIterator(m_head); }
|
||||
ConstIterator end() const { return {}; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue