[*] Clang wont compile

This commit is contained in:
Reece Wilson 2024-05-07 05:12:46 +01:00
parent 9d6e3b19e1
commit 040f9bb99e

View File

@ -377,6 +377,12 @@ namespace Aurora::Memory
this->deallocate_object(p);
}
template <class Z>
inline constexpr bool operator==(const Aurora::Memory::BaseAuroraRuntimeAllocator<Z> &rhs) noexcept
{
return true;
}
};
template<typename T>
@ -392,8 +398,15 @@ namespace Aurora::Memory
}
template <class T, class Z>
inline constexpr bool operator==(Aurora::Memory::BaseAuroraRuntimeAllocator<T> lhs,
Aurora::Memory::BaseAuroraRuntimeAllocator<Z> rhs) noexcept
inline constexpr bool operator==(const Aurora::Memory::BaseAuroraRuntimeAllocator<T> &lhs,
const Aurora::Memory::BaseAuroraRuntimeAllocator<Z> &rhs) noexcept
{
return true;
}
}
template <class T, class Z>
inline constexpr bool operator!=(const Aurora::Memory::BaseAuroraRuntimeAllocator<T> &lhs,
const Aurora::Memory::BaseAuroraRuntimeAllocator<Z> &rhs) noexcept
{
return false;
}