aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-10-04 13:17:01 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-10-04 13:17:01 +0100
commit44e4da6505935116a2468c56f425c33e70caa10c (patch)
tree2e36b00412d371cc56cb2826c1bbd53d47ceb09c /gcc/ipa-inline.c
parent8384956a1b27161775bc0e272614c42e523ee8f6 (diff)
downloadgcc-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