libstdc++: Fix testsuite utility's use of allocators
authorJonathan Wakely <jwakely@redhat.com>
Fri, 17 Apr 2020 23:10:54 +0000 (00:10 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 17 Apr 2020 23:12:26 +0000 (00:12 +0100)
commitc9960294062dbda0847d26a1b5ee37a55210d69c
tree4cc647117d31c1b45fbf117bb4a26689f2c90acb
parentbd2420f8faaf4bb33310e82f7dd45c5e33476c87
libstdc++: Fix testsuite utility's use of allocators

In C++20 the rebind and const_reference members of std::allocator are
gone, so this testsuite utility stopped working, causing
ext/pb_ds/regression/priority_queue_rand_debug.cc to FAIL.

* testsuite/util/native_type/native_priority_queue.hpp: Use
allocator_traits to rebind allocator.
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/util/native_type/native_priority_queue.hpp