[*] Clang being a cunt
This commit is contained in:
parent
34c7be7958
commit
a43817624d
@ -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()));
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user