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

Fixed some more template bugs

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40111
This commit is contained in:
David Anderson 2005-09-13 22:16:29 +00:00
parent 1717c99f07
commit 5ed98f9a46
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public:
assign(src);
}
String(String &src)
String(const String &src)
{
v = NULL;
a_size = 0;

View File

@ -197,7 +197,7 @@ namespace SourceHook
private:
void _Inc()
{
if (end || !hash)
if (end || !hash || curbucket >= hash->m_numBuckets)
return;
if (curbucket < 0)
{