diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3164b03f3f6c..e85de72a61ba 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2012-11-06 Jonathan Wakely + + * include/profile/map.h (map::emplace_hint): Add missing return. + 2012-11-05 Jonathan Wakely * include/profile/deque: Constrain InputIterator parameters. diff --git a/libstdc++-v3/include/profile/map.h b/libstdc++-v3/include/profile/map.h index fe2f4564d0ce..f96f18bab05c 100644 --- a/libstdc++-v3/include/profile/map.h +++ b/libstdc++-v3/include/profile/map.h @@ -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