aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-09-03 15:25:29 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-09-03 15:25:29 +0100
commit7efe0dd0b43db1ac5070908290a3febfcfb73513 (patch)
treedca921548bea37d7126c0e8e74fee577384f544d /gcc
parent83a840a91fb3281f8980eaacdb7b5377778da3bb (diff)
downloadgcc-7efe0dd0b43db1ac5070908290a3febfcfb73513.zip
gcc-7efe0dd0b43db1ac5070908290a3febfcfb73513.tar.gz
gcc-7efe0dd0b43db1ac5070908290a3febfcfb73513.tar.bz2
Fix vector::_Temporary_value::_M_ptr
The pointer argument to allocator_traits::construct and allocator_traits::destroy should be a raw pointer, not the allocator's pointer type. _Temporary_value::_M_ptr was returning the wrong type. * include/bits/stl_vector.h (vector::_Temporary_value::_M_ptr): Return raw pointer not allocator's pointer type. (vector::_Temporary_value::_M_val): Use _M_ptr. From-SVN: r264061
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions