[*] fix broken pair hasher

This commit is contained in:
Reece Wilson 2024-07-04 13:00:36 +01:00
parent 67e1948120
commit 16b3c024c8

View File

@ -323,8 +323,8 @@ namespace AuHash
{
AuUInt operator ()(const AuPair<T, Z> &pair) const
{
return AuHashCode(AuGet<0>(pair)) ^
AuHashCode(AuGet<1>(pair));
return AuHashCode(pair.first) ^
AuHashCode(pair.second);
}
};