forked from boostorg/unordered
Make allocator comparison const in allocator_traits test
This commit is contained in:
@ -36,8 +36,8 @@
|
|||||||
{ \
|
{ \
|
||||||
return (std::numeric_limits<std::size_t>::max)(); \
|
return (std::numeric_limits<std::size_t>::max)(); \
|
||||||
} \
|
} \
|
||||||
bool operator==(name<T> const&) { return true; } \
|
bool operator==(name<T> const&) const { return true; } \
|
||||||
bool operator!=(name<T> const&) { return false; } \
|
bool operator!=(name<T> const&) const { return false; } \
|
||||||
/**/
|
/**/
|
||||||
|
|
||||||
#define ALLOCATOR_METHODS_TYPEDEFS(name) \
|
#define ALLOCATOR_METHODS_TYPEDEFS(name) \
|
||||||
|
Reference in New Issue
Block a user