From b8cd9b438aad45c12df5e552df4129c4a5fbd567 Mon Sep 17 00:00:00 2001 From: paolo Date: Wed, 6 Jun 2007 18:44:02 +0000 Subject: 2007-06-06 Paolo Carlini 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 --- libstdc++-v3/include/bits/stl_vector.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libstdc++-v3/include') 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, -- cgit v1.2.1