aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-08-18 19:20:43 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-08-18 19:20:43 +0100
commitb74f0db11a4e62e044b816c5d275df37ee728396 (patch)
treedec6b13dd44f54c12b79f3d530854f5703c4f009 /libgo
parentf661e57ee8fef0b121ec2d79f9e5fea20932c2ae (diff)
downloadgcc-b74f0db11a4e62e044b816c5d275df37ee728396.zip
gcc-b74f0db11a4e62e044b816c5d275df37ee728396.tar.gz
gcc-b74f0db11a4e62e044b816c5d275df37ee728396.tar.bz2
Simplify allocator usage in unordered containers
* include/bits/hashtable_policy.h (_ReuseOrAllocNode): Remove __value_alloc_type and __value_alloc_traits typedefs. (_ReuseOrAllocNode::operator()): Call construct and destroy on the node allocator. (_Hashtable_alloc): Simplify __value_alloc_traits typedef. (_Hashtable_alloc<_NodeAlloc>::_M_allocate_node(_Args&&...)): Call construct on the node allocator. (_Hashtable_alloc<_NodeAlloc>::_M_deallocate_node(__node_type*)): Call destroy on the node allocator. From-SVN: r251187
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions