From patchwork Sun Oct 21 19:13:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: unordered set design modification Date: Sun, 21 Oct 2012 09:13:53 -0000 From: =?utf-8?q?Fran=C3=A7ois_Dumont?= X-Patchwork-Id: 193053 Message-Id: <50844971.7080102@gmail.com> To: Paolo Carlini Cc: "libstdc++@gcc.gnu.org" , gcc-patches 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 * 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); }