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