* libstdc++-v3/testsuite/util/testsuite_allocator.h
(CustomPointerAlloc<>::allocate(size_t, pointer)): Replace by...
(CustomPointerAlloc<>::allocate(size_t, const_void_pointer)): ...this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267381
138bc75d-0d04-0410-961f-
82ee72b054a4
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)