diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-09-03 15:25:29 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-09-03 15:25:29 +0100 |
commit | 7efe0dd0b43db1ac5070908290a3febfcfb73513 (patch) | |
tree | dca921548bea37d7126c0e8e74fee577384f544d /gcc | |
parent | 83a840a91fb3281f8980eaacdb7b5377778da3bb (diff) | |
download | gcc-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