From: paolo Date: Thu, 8 Nov 2007 11:11:47 +0000 (+0000) Subject: 2007-11-08 Paolo Carlini X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12064ad49e43ebe6530f84ce1f37e80f97b5d26d;p=thirdparty%2Fgcc.git 2007-11-08 Paolo Carlini * include/debug/vector (push_back, emplace): Fix signature typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129996 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4598210405e9..282323c0d965 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2007-11-08 Paolo Carlini + + * include/debug/vector (push_back, emplace): Fix signature typo. + 2007-11-08 Paolo Carlini * include/bits/locale_facets.h (ctype::taple, classic_table): diff --git a/libstdc++-v3/include/debug/vector b/libstdc++-v3/include/debug/vector index 977fbbd9ceec..c5e4d12e02f9 100644 --- a/libstdc++-v3/include/debug/vector +++ b/libstdc++-v3/include/debug/vector @@ -291,7 +291,7 @@ namespace __debug #else template void - push_back(_Args... __args) + push_back(_Args&&... __args) { bool __realloc = _M_requires_reallocation(this->size() + 1); _Base::push_back(std::forward<_Args>(__args)...); @@ -313,7 +313,7 @@ namespace __debug #ifdef __GXX_EXPERIMENTAL_CXX0X__ template iterator - emplace(iterator __position, _Args... __args) + emplace(iterator __position, _Args&&... __args) { __glibcxx_check_insert(__position); bool __realloc = _M_requires_reallocation(this->size() + 1);