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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user