aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Dumont <fdumont@gcc.gnu.org>2012-10-21 19:06:47 +0000
committerFrançois Dumont <fdumont@gcc.gnu.org>2012-10-21 19:06:47 +0000
commit0a011b17eee3817cc64bd34a3226d997c2bc3bb6 (patch)
treed31b73933b69a791018939de4450ccdf7b1198cc
parentdff1289d12ede45140c5ec982d361a8f3392adcd (diff)
downloadgcc-0a011b17eee3817cc64bd34a3226d997c2bc3bb6.zip
gcc-0a011b17eee3817cc64bd34a3226d997c2bc3bb6.tar.gz
gcc-0a011b17eee3817cc64bd34a3226d997c2bc3bb6.tar.bz2
map.h (map::emplace_hint): Remove invalid parenthesis.
2012-10-21 François Dumont <fdumont@gcc.gnu.org> * include/profile/map.h (map::emplace_hint): Remove invalid parenthesis. From-SVN: r192656
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/profile/map.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index f69761d..2267a26 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-21 François Dumont <fdumont@gcc.gnu.org>
+
+ * include/profile/map.h (map::emplace_hint): Remove invalid
+ parenthesis.
+
2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
* testsuite/23_containers/bitset/45713.cc: Skip for mmix-*-*.
diff --git a/libstdc++-v3/include/profile/map.h b/libstdc++-v3/include/profile/map.h
index cc01d90..dcc6931 100644
--- a/libstdc++-v3/include/profile/map.h
+++ b/libstdc++-v3/include/profile/map.h
@@ -253,7 +253,7 @@ namespace __profile
{
size_type size_before = size();
auto __res = _Base::emplace_hint(__pos.base(),
- std::forward<_Args>(__args)...));
+ std::forward<_Args>(__args)...);
__profcxx_map_to_unordered_map_insert(this, size_before,
size() - size_before);
}