map.h (map::emplace_hint): Remove invalid parenthesis.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 21 Oct 2012 19:06:47 +0000 (19:06 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 21 Oct 2012 19:06:47 +0000 (19:06 +0000)
2012-10-21  François Dumont  <fdumont@gcc.gnu.org>

* include/profile/map.h (map::emplace_hint): Remove invalid
parenthesis.

From-SVN: r192656

libstdc++-v3/ChangeLog
libstdc++-v3/include/profile/map.h

index f69761d..2267a26 100644 (file)
@@ -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-*-*.
index cc01d90..dcc6931 100644 (file)
@@ -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);
        }