Browse Source

Fix a Clang error from pnUtHash.

Darryl Pogue 13 years ago
parent
commit
22a6b3b277
  1. 2
      Sources/Plasma/NucleusLib/pnUtils/pnUtHash.h

2
Sources/Plasma/NucleusLib/pnUtils/pnUtHash.h

@ -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;
} }

Loading…
Cancel
Save