diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-06 18:44:02 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-06 18:44:02 +0000 |
commit | b8cd9b438aad45c12df5e552df4129c4a5fbd567 (patch) | |
tree | 67b796020e2d2c4b3e0eedcde43f46eb6ef13b30 /libstdc++-v3/include | |
parent | 9e31df458051afb8b10b4d730599538bf83ceac4 (diff) | |
download | ppe42-gcc-b8cd9b438aad45c12df5e552df4129c4a5fbd567.tar.gz ppe42-gcc-b8cd9b438aad45c12df5e552df4129c4a5fbd567.zip |
2007-06-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/32233
* include/bits/stl_vector.h (_M_fill_initialize): Fix return type.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125499 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/bits/stl_vector.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/stl_vector.h b/libstdc++-v3/include/bits/stl_vector.h index f885f022a7d..8d1049520c9 100644 --- a/libstdc++-v3/include/bits/stl_vector.h +++ b/libstdc++-v3/include/bits/stl_vector.h @@ -825,6 +825,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD) // Called by the first initialize_dispatch above and by the // vector(n,value,a) constructor. + void _M_fill_initialize(size_type __n, const value_type& __value) { std::__uninitialized_fill_n_a(this->_M_impl._M_start, __n, __value, |