On 10/21/2012 11:47 AM, Paolo Carlini wrote:
On 10/20/2012 11:07 PM, François Dumont wrote:
I have also put a fix in profile/map.h even if it is unrelated to
this evolution. Should I commit it outside this patch ?
Yes please!
Thanks,
Paolo.
Attached patch applied.
2012-10-21 François Dumont <fdum...@gcc.gnu.org>
* include/profile/map.h (map::emplace_hint): Remove invalid
parenthesis.
François
Index: include/profile/map.h
===================================================================
--- include/profile/map.h (revision 192623)
+++ include/profile/map.h (working copy)
@@ -253,7 +253,7 @@
{
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);
}