* libstdc++-v3/testsuite/util/testsuite_allocator.h
(CustomPointerAlloc<>::allocate(size_t, pointer)): Replace by...
(CustomPointerAlloc<>::allocate(size_t, const_void_pointer)): ...this.
From-SVN: r267381
2018-12-23 François Dumont <fdumont@gcc.gnu.org>
+ * libstdc++-v3/testsuite/util/testsuite_allocator.h
+ (CustomPointerAlloc<>::allocate(size_t, pointer)): Replace by...
+ (CustomPointerAlloc<>::allocate(size_t, const_void_pointer)): ...this.
+
Respect pointer_traits on node deallocation in _ReuseOrAllocNode
parenthesis operator.
typedef Ptr<void> void_pointer;
typedef Ptr<const void> const_void_pointer;
- pointer allocate(std::size_t n, pointer = {})
+ pointer allocate(std::size_t n, const_void_pointer = {})
{ return pointer(std::allocator<Tp>::allocate(n)); }
void deallocate(pointer p, std::size_t n)