diff --git a/AK/SinglyLinkedList.h b/AK/SinglyLinkedList.h index 6ecdbe32bb7..84f60d141c4 100644 --- a/AK/SinglyLinkedList.h +++ b/AK/SinglyLinkedList.h @@ -214,7 +214,6 @@ public: m_tail = node; } -private: void remove(Iterator& iterator) { VERIFY(!iterator.is_end()); @@ -227,6 +226,7 @@ private: delete iterator.m_node; } +private: Node* head() { return m_head; } const Node* head() const { return m_head; }