summaryrefslogtreecommitdiff
path: root/AK/DoublyLinkedList.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/DoublyLinkedList.h')
-rw-r--r--AK/DoublyLinkedList.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/DoublyLinkedList.h b/AK/DoublyLinkedList.h
index f2425fdede..9d22d31e22 100644
--- a/AK/DoublyLinkedList.h
+++ b/AK/DoublyLinkedList.h
@@ -15,8 +15,8 @@ namespace AK {
template<typename ListType, typename ElementType>
class DoublyLinkedListIterator {
public:
- bool operator!=(const DoublyLinkedListIterator& other) const { return m_node != other.m_node; }
- bool operator==(const DoublyLinkedListIterator& other) const { return m_node == other.m_node; }
+ bool operator!=(DoublyLinkedListIterator const& other) const { return m_node != other.m_node; }
+ bool operator==(DoublyLinkedListIterator const& other) const { return m_node == other.m_node; }
DoublyLinkedListIterator& operator++()
{
m_node = m_node->next;