diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-10-04 13:17:01 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-10-04 13:17:01 +0100 |
commit | 44e4da6505935116a2468c56f425c33e70caa10c (patch) | |
tree | 2e36b00412d371cc56cb2826c1bbd53d47ceb09c /gcc/ipa-inline.c | |
parent | 8384956a1b27161775bc0e272614c42e523ee8f6 (diff) | |
download | gcc-44e4da6505935116a2468c56f425c33e70caa10c.zip gcc-44e4da6505935116a2468c56f425c33e70caa10c.tar.gz gcc-44e4da6505935116a2468c56f425c33e70caa10c.tar.bz2 |
Adjust tr1::_Hashtable to work with std::allocator in C++20
In C++20 std::allocator will no longer define construct and destroy
member functions, so using them needs to go via allocator_traits.
* include/tr1/hashtable.h (tr1::_Hashtable::_M_allocate_node): Use
__gnu_cxx::__alloc_traits for allocator construct function.
(tr1::_Hashtable::_M_deallocate_node): Likewise for destroy function.
From-SVN: r276575
Diffstat (limited to 'gcc/ipa-inline.c')
0 files changed, 0 insertions, 0 deletions