aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/debug/vector4
2 files changed, 6 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 4598210..282323c 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,9 @@
2007-11-08 Paolo Carlini <pcarlini@suse.de>
+ * include/debug/vector (push_back, emplace): Fix signature typo.
+
+2007-11-08 Paolo Carlini <pcarlini@suse.de>
+
* include/bits/locale_facets.h (ctype<char>::taple, classic_table):
Implement trivial resolution of DR 695 [Ready].
* testsuite/22_locale/ctype/dr695.cc: New.
diff --git a/libstdc++-v3/include/debug/vector b/libstdc++-v3/include/debug/vector
index 977fbbd..c5e4d12 100644
--- a/libstdc++-v3/include/debug/vector
+++ b/libstdc++-v3/include/debug/vector
@@ -291,7 +291,7 @@ namespace __debug
#else
template<typename... _Args>
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<typename... _Args>
iterator
- emplace(iterator __position, _Args... __args)
+ emplace(iterator __position, _Args&&... __args)
{
__glibcxx_check_insert(__position);
bool __realloc = _M_requires_reallocation(this->size() + 1);