From 14c76ca2447a9c905ffad6898795b2024b1a85f6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 11 Sep 2019 07:32:14 -0700 Subject: Fix allocator comparison operators --- common/almalloc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/almalloc.h') diff --git a/common/almalloc.h b/common/almalloc.h index 232294cc..37b57d2b 100644 --- a/common/almalloc.h +++ b/common/almalloc.h @@ -72,10 +72,10 @@ struct allocator { } void deallocate(T *p, std::size_t) noexcept { al_free(p); } }; -template -bool operator==(const allocator&, const allocator&) noexcept { return true; } -template -bool operator!=(const allocator&, const allocator&) noexcept { return false; } +template +bool operator==(const allocator&, const allocator&) noexcept { return true; } +template +bool operator!=(const allocator&, const allocator&) noexcept { return false; } template inline T* assume_aligned(T *ptr) noexcept -- cgit v1.2.3