diff --git a/Include/auROXTL/auMemoryModel.hpp b/Include/auROXTL/auMemoryModel.hpp index 1af9bd0..80d28a4 100644 --- a/Include/auROXTL/auMemoryModel.hpp +++ b/Include/auROXTL/auMemoryModel.hpp @@ -377,6 +377,12 @@ namespace Aurora::Memory this->deallocate_object(p); } + + template + inline constexpr bool operator==(const Aurora::Memory::BaseAuroraRuntimeAllocator &rhs) noexcept + { + return true; + } }; template @@ -392,8 +398,15 @@ namespace Aurora::Memory } template -inline constexpr bool operator==(Aurora::Memory::BaseAuroraRuntimeAllocator lhs, - Aurora::Memory::BaseAuroraRuntimeAllocator rhs) noexcept +inline constexpr bool operator==(const Aurora::Memory::BaseAuroraRuntimeAllocator &lhs, + const Aurora::Memory::BaseAuroraRuntimeAllocator &rhs) noexcept { return true; -} \ No newline at end of file +} + +template +inline constexpr bool operator!=(const Aurora::Memory::BaseAuroraRuntimeAllocator &lhs, + const Aurora::Memory::BaseAuroraRuntimeAllocator &rhs) noexcept +{ + return false; +}