1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Fix pnUtils for clang.

This commit is contained in:
Darryl Pogue
2012-01-29 17:21:07 -08:00
parent 75a3701f3e
commit f58161ace0
4 changed files with 23 additions and 22 deletions

View File

@ -52,6 +52,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pnUtList.h"
#include "pnUtArray.h"
#include "pnUtMath.h"
#include "pnUtStr.h"
/****************************************************************************
*
@ -536,7 +537,7 @@ const T * THashTable<T,K>::Find (const K & key) const {
unsigned hash = key.GetHash();
const LIST(T) & slotList = this->GetSlotList(hash);
for (const T * curr = slotList.Head(); curr; curr = slotList.Next(curr))
if ((GetHash(curr) == hash) && (*curr == key))
if ((this->GetHash(curr) == hash) && (*curr == key))
return curr;
return nil;
}