From 919953b6615580f03fd1f66d03098f5b939564a2 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Thu, 8 Jul 2004 18:53:58 +0000 Subject: [PATCH] a fix for an error? --- amxmodx/CList.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amxmodx/CList.h b/amxmodx/CList.h index de523c1a..b4c72b96 100755 --- a/amxmodx/CList.h +++ b/amxmodx/CList.h @@ -127,7 +127,7 @@ public: } // constructor based on other iterator - iterator(iterator &other) + iterator(const iterator &other) { m_pList = other.m_pList; m_CurPos = other.m_CurPos; @@ -161,7 +161,7 @@ public: inline iterator operator++(int) { iterator tmp(*this); - m_CurPos = m_CurPos)->next; + m_CurPos = m_CurPos->next; return tmp; }