unordered set design modification

Submitted by François Dumont on Oct. 21, 2012, 7:13 p.m.

Details

Message ID 50844971.7080102@gmail.com
State New
Headers show

Commit Message

François Dumont Oct. 21, 2012, 7:13 p.m.
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  <fdumont@gcc.gnu.org>

     * include/profile/map.h (map::emplace_hint): Remove invalid
     parenthesis.

François

Patch hide | download patch | download mbox

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);
 	}