diff --git a/AK/InlineLinkedList.h b/AK/InlineLinkedList.h index 87962372f27..dd80b4eb1fe 100644 --- a/AK/InlineLinkedList.h +++ b/AK/InlineLinkedList.h @@ -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); }