1.1 --- a/sourcehook/sh_list.h Tue Sep 13 20:20:49 2005 +0000
1.2 +++ b/sourcehook/sh_list.h Tue Sep 13 20:21:58 2005 +0000
1.3 @@ -11,6 +11,8 @@
1.4 #ifndef _INCLUDE_SMM_LIST_H
1.5 #define _INCLUDE_SMM_LIST_H
1.6
1.7 +#include <malloc.h>
1.8 +
1.9 namespace SourceHook
1.10 {
1.11 //This class is from CSDM for AMX Mod X
1.12 @@ -157,14 +159,10 @@
1.13 {
1.14 return &(m_This->obj);
1.15 }
1.16 - bool operator != (iterator &where)
1.17 + bool operator != (const iterator &where) const
1.18 {
1.19 return (m_This != where.m_This);
1.20 }
1.21 - bool operator ==(iterator &where)
1.22 - {
1.23 - return (m_This == where.m_This);
1.24 - }
1.25 bool operator ==(const iterator &where) const
1.26 {
1.27 return (m_This == where.m_This);