diff --git a/test/unordered/allocator_traits.cpp b/test/unordered/allocator_traits.cpp index 476205b7..0517fb97 100644 --- a/test/unordered/allocator_traits.cpp +++ b/test/unordered/allocator_traits.cpp @@ -65,9 +65,9 @@ { \ 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; } \ + /**/ struct yes_type {