2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Fix a Clang error from pnUtHash.

This commit is contained in:
Darryl Pogue
2012-02-24 22:56:02 -08:00
parent 1ef7f43ede
commit 22a6b3b277

View File

@ -548,7 +548,7 @@ const T * THashTable<T,K>::FindNext (const K & key, const T * object) const {
unsigned hash = key.GetHash(); unsigned hash = key.GetHash();
const LIST(T) & slotList = this->GetSlotList(hash); const LIST(T) & slotList = this->GetSlotList(hash);
for (const T * curr = slotList.Next(object); curr; curr = slotList.Next(curr)) for (const T * curr = slotList.Next(object); curr; curr = slotList.Next(curr))
if ((GetHash(curr) == hash) && (*curr == key)) if ((this->GetHash(curr) == hash) && (*curr == key))
return curr; return curr;
return nil; return nil;
} }