On 6 November 2012 00:06, Jonathan Wakely wrote:
>
> There's still a failure for 23_containers/map/modifiers/emplace/1.cc
> (which didn't even compile in profile mode previously) that I'll look
> into.
That turned out to be trivial, fixed like so.
* include/profile/map.h (map::emplace_hint): Add missing return.
Tested x86_64-linux, committed to trunk.
diff --git a/libstdc++-v3/include/profile/map.h
b/libstdc++-v3/include/profile/map.h
index fe2f456..f96f18b 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