* include/profile/map.h (map::emplace_hint): Add missing return.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Tue, 6 Nov 2012 00:19:57 +0000 (00:19 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 6 Nov 2012 00:19:57 +0000 (00:19 +0000)
From-SVN: r193202

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

index 3164b03..e85de72 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/profile/map.h (map::emplace_hint): Add missing return.
+
 2012-11-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
        * include/profile/deque: Constrain InputIterator parameters.
index fe2f456..f96f18b 100644 (file)
@@ -261,6 +261,7 @@ namespace __profile
                                           std::forward<_Args>(__args)...);
          __profcxx_map_to_unordered_map_insert(this, size_before,
                                                size() - size_before);
+         return __res;
        }
 #endif