Make allocator comparison const in allocator_traits test

This commit is contained in:
Daniel James
2018-01-13 20:31:45 +00:00
parent df8fbca007
commit 57492c1a94

View File

@ -36,8 +36,8 @@
{ \
return (std::numeric_limits<std::size_t>::max)(); \
} \
bool operator==(name<T> const&) { return true; } \
bool operator!=(name<T> const&) { return false; } \
bool operator==(name<T> const&) const { return true; } \
bool operator!=(name<T> const&) const { return false; } \
/**/
#define ALLOCATOR_METHODS_TYPEDEFS(name) \