a fix for an error?

This commit is contained in:
Pavol Marko 2004-07-08 18:53:58 +00:00
parent f0f6dc88b1
commit 919953b661

View File

@ -127,7 +127,7 @@ public:
} }
// constructor based on other iterator // constructor based on other iterator
iterator(iterator &other) iterator(const iterator &other)
{ {
m_pList = other.m_pList; m_pList = other.m_pList;
m_CurPos = other.m_CurPos; m_CurPos = other.m_CurPos;
@ -161,7 +161,7 @@ public:
inline iterator operator++(int) inline iterator operator++(int)
{ {
iterator tmp(*this); iterator tmp(*this);
m_CurPos = m_CurPos)->next; m_CurPos = m_CurPos->next;
return tmp; return tmp;
} }