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:
parent
1717c99f07
commit
5ed98f9a46
@ -44,7 +44,7 @@ public:
|
||||
assign(src);
|
||||
}
|
||||
|
||||
String(String &src)
|
||||
String(const String &src)
|
||||
{
|
||||
v = NULL;
|
||||
a_size = 0;
|
||||
|
@ -197,7 +197,7 @@ namespace SourceHook
|
||||
private:
|
||||
void _Inc()
|
||||
{
|
||||
if (end || !hash)
|
||||
if (end || !hash || curbucket >= hash->m_numBuckets)
|
||||
return;
|
||||
if (curbucket < 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user