diff options
author | Paolo Carlini <pcarlini@suse.de> | 2007-11-08 11:11:47 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2007-11-08 11:11:47 +0000 |
commit | 0a485bae9f0aa4a2ad5236131113e16a339213db (patch) | |
tree | 8ef4c2a34e06fd57e1d725364a0778d655defed1 | |
parent | 8e0775fb1745dbd149e86f72d2a4f08f0c71ce08 (diff) | |
download | gcc-0a485bae9f0aa4a2ad5236131113e16a339213db.zip gcc-0a485bae9f0aa4a2ad5236131113e16a339213db.tar.gz gcc-0a485bae9f0aa4a2ad5236131113e16a339213db.tar.bz2 |
vector (push_back, emplace): Fix signature typo.
2007-11-08 Paolo Carlini <pcarlini@suse.de>
* include/debug/vector (push_back, emplace): Fix signature typo.
From-SVN: r129996
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/include/debug/vector | 4 |
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); |