From 0a485bae9f0aa4a2ad5236131113e16a339213db Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Thu, 8 Nov 2007 11:11:47 +0000 Subject: [PATCH] vector (push_back, emplace): Fix signature typo. 2007-11-08 Paolo Carlini * include/debug/vector (push_back, emplace): Fix signature typo. From-SVN: r129996 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/include/debug/vector | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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); -- 2.43.5