sourcehook/sh_list.h
changeset 279 4836de1350c5
parent 163 377bdd31c28d
child 294 0d87bc8606f8
     1.1 --- a/sourcehook/sh_list.h	Sat Jan 27 09:18:17 2007 +0000
     1.2 +++ b/sourcehook/sh_list.h	Mon Feb 05 02:16:14 2007 +0000
     1.3 @@ -97,7 +97,7 @@
     1.4  
     1.5  			m_Size++;
     1.6  		}
     1.7 -		size_t size()
     1.8 +		size_t size() const
     1.9  		{
    1.10  			return m_Size;
    1.11  		}
    1.12 @@ -118,7 +118,7 @@
    1.13  			}
    1.14  			m_Size = 0;
    1.15  		}
    1.16 -		bool empty()
    1.17 +		bool empty() const
    1.18  		{
    1.19  			return (m_Size == 0);
    1.20  		}
    1.21 @@ -267,7 +267,7 @@
    1.22  			}
    1.23  		}
    1.24  		template <typename U>
    1.25 -		iterator find(const U & equ)
    1.26 +		iterator find(const U & equ) const
    1.27  		{
    1.28  			iterator iter;
    1.29  			for (iter=begin(); iter!=end(); iter++)