mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 21:45:20 +00:00
AK: InlineLinkedListIterator operator-> should return m_node directly
Little typo here. Don't think many people use this iterator :)
This commit is contained in:
parent
c5c1cc817e
commit
aa0ee0e407
Notes:
sideshowbarker
2024-07-19 10:46:57 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/aa0ee0e4077 Pull-request: https://github.com/SerenityOS/serenity/pull/895
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public:
|
|||
return *this;
|
||||
}
|
||||
T& operator*() { return *m_node; }
|
||||
T* operator->() { return &m_node; }
|
||||
T* operator->() { return m_node; }
|
||||
bool is_end() const { return !m_node; }
|
||||
static InlineLinkedListIterator universal_end() { return InlineLinkedListIterator(nullptr); }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue