From 16b3c024c8afc8ee65e27b08968fd607b6496b08 Mon Sep 17 00:00:00 2001 From: J Reece Wilson Date: Thu, 4 Jul 2024 13:00:36 +0100 Subject: [PATCH] [*] fix broken pair hasher --- Include/auROXTL/auHashUtils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/auROXTL/auHashUtils.hpp b/Include/auROXTL/auHashUtils.hpp index dd3020d..445dd9a 100644 --- a/Include/auROXTL/auHashUtils.hpp +++ b/Include/auROXTL/auHashUtils.hpp @@ -323,8 +323,8 @@ namespace AuHash { AuUInt operator ()(const AuPair &pair) const { - return AuHashCode(AuGet<0>(pair)) ^ - AuHashCode(AuGet<1>(pair)); + return AuHashCode(pair.first) ^ + AuHashCode(pair.second); } };