diff --git a/test/unordered/allocator_traits.cpp b/test/unordered/allocator_traits.cpp index c6b06f85..476205b7 100644 --- a/test/unordered/allocator_traits.cpp +++ b/test/unordered/allocator_traits.cpp @@ -36,8 +36,8 @@ { \ return (std::numeric_limits::max)(); \ } \ - bool operator==(name const&) { return true; } \ - bool operator!=(name const&) { return false; } \ + bool operator==(name const&) const { return true; } \ + bool operator!=(name const&) const { return false; } \ /**/ #define ALLOCATOR_METHODS_TYPEDEFS(name) \