forked from boostorg/unordered
Make allocator comparison const in allocator_traits test
This commit is contained in:
1 parent
df8fbca007
commit
57492c1a94
1 file changed
+2
-2
@@ -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) \
|
||||
|
||||
Reference in new issue
Block a user