mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:27:45 +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
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
T& operator*() { return *m_node; }
|
T& operator*() { return *m_node; }
|
||||||
T* operator->() { return &m_node; }
|
T* operator->() { return m_node; }
|
||||||
bool is_end() const { return !m_node; }
|
bool is_end() const { return !m_node; }
|
||||||
static InlineLinkedListIterator universal_end() { return InlineLinkedListIterator(nullptr); }
|
static InlineLinkedListIterator universal_end() { return InlineLinkedListIterator(nullptr); }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue