[*] Clang being a cunt

This commit is contained in:
Reece Wilson 2024-02-23 11:45:24 +00:00
parent 34c7be7958
commit a43817624d
2 changed files with 2 additions and 2 deletions

View File

@ -316,7 +316,7 @@ namespace AuHash
template <class T>
struct hash<AuSPtr<T>>
{
_AH_HAS_RETARD_CONSTEXPR AuUInt operator ()(const AuSPtr<T> &ptr) const
AuUInt operator ()(const AuSPtr<T> &ptr) const
{
#if defined(AURORA_IS_32BIT)
return ComputeUnseededHash(AuUInt(ptr.get()));

View File

@ -45,7 +45,7 @@ constexpr const T AuPageRound(const T value, const T pageSize)
template <class T>
const bool AuIsPow2(const T value)
{
return (value) && (value & (value - 1) == 0);
return (value) && ((value & (value - 1)) == 0);
}
template <class T>