1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

added const specifiers to a few member functions of SourceHook::List

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40329
This commit is contained in:
David Anderson 2007-02-05 02:16:14 +00:00
parent 59ec4c31ee
commit 5b0ab496d2

View File

@ -97,7 +97,7 @@ namespace SourceHook
m_Size++;
}
size_t size()
size_t size() const
{
return m_Size;
}
@ -118,7 +118,7 @@ namespace SourceHook
}
m_Size = 0;
}
bool empty()
bool empty() const
{
return (m_Size == 0);
}
@ -267,7 +267,7 @@ namespace SourceHook
}
}
template <typename U>
iterator find(const U & equ)
iterator find(const U & equ) const
{
iterator iter;
for (iter=begin(); iter!=end(); iter++)