1.1 --- a/sourcehook/sh_list.h Tue Sep 13 16:47:42 2005 +0000
1.2 +++ b/sourcehook/sh_list.h Tue Sep 13 16:47:42 2005 +0000
1.3 @@ -137,6 +137,7 @@
1.4 m_This = m_This->next;
1.5 return *this;
1.6 }
1.7 + //post increment
1.8 iterator operator++(int)
1.9 {
1.10 iterator old(*this);
1.11 @@ -164,6 +165,10 @@
1.12 {
1.13 return (m_This == where.m_This);
1.14 }
1.15 + bool operator ==(const iterator &where) const
1.16 + {
1.17 + return (m_This == where.m_This);
1.18 + }
1.19 private:
1.20 ListNode *m_This;
1.21 };