From a43817624d93f44d2707684a19f37d04cb6a4c24 Mon Sep 17 00:00:00 2001 From: J Reece Wilson Date: Fri, 23 Feb 2024 11:45:24 +0000 Subject: [PATCH] [*] Clang being a cunt --- Include/auROXTL/auMemoryModel.hpp | 2 +- Include/auROXTL/auNumberUtils.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/auROXTL/auMemoryModel.hpp b/Include/auROXTL/auMemoryModel.hpp index aef1b82..4a1b9a3 100644 --- a/Include/auROXTL/auMemoryModel.hpp +++ b/Include/auROXTL/auMemoryModel.hpp @@ -316,7 +316,7 @@ namespace AuHash template struct hash> { - _AH_HAS_RETARD_CONSTEXPR AuUInt operator ()(const AuSPtr &ptr) const + AuUInt operator ()(const AuSPtr &ptr) const { #if defined(AURORA_IS_32BIT) return ComputeUnseededHash(AuUInt(ptr.get())); diff --git a/Include/auROXTL/auNumberUtils.hpp b/Include/auROXTL/auNumberUtils.hpp index 3d07a2b..1b2f390 100644 --- a/Include/auROXTL/auNumberUtils.hpp +++ b/Include/auROXTL/auNumberUtils.hpp @@ -45,7 +45,7 @@ constexpr const T AuPageRound(const T value, const T pageSize) template const bool AuIsPow2(const T value) { - return (value) && (value & (value - 1) == 0); + return (value) && ((value & (value - 1)) == 0); } template