diff -r ae2defdde073 -r 1d6e7e0bdcd9 sourcehook/sh_list.h --- a/sourcehook/sh_list.h Tue Sep 13 20:20:49 2005 +0000 +++ b/sourcehook/sh_list.h Tue Sep 13 20:21:58 2005 +0000 @@ -11,6 +11,8 @@ #ifndef _INCLUDE_SMM_LIST_H #define _INCLUDE_SMM_LIST_H +#include + namespace SourceHook { //This class is from CSDM for AMX Mod X @@ -157,14 +159,10 @@ { return &(m_This->obj); } - bool operator != (iterator &where) + bool operator != (const iterator &where) const { return (m_This != where.m_This); } - bool operator ==(iterator &where) - { - return (m_This == where.m_This); - } bool operator ==(const iterator &where) const { return (m_This == where.m_This);