[gerrit at gerrit.libreoffice.org: [PUSHED] tdf#97499 Fixed containers parameters clearing #8]

Stephan Bergmann sbergman at redhat.com
Mon May 2 08:21:03 UTC 2016


On 05/02/2016 09:25 AM, jan iversen wrote:
> I am copying the dev list (and have moved your mail to BCC), because these kind of questions are best answered on the list. Especially since the real experts are on the list, I am just good at connecting people :-)
>
>> seems that only one left (include/formula/tokenarray.hxx) in this bug tdf#97499.
>> But can't chage it, maybe you could help me with some advise how to
>> solve it if possible.
>>
>> http://opengrok.libreoffice.org/xref/core/include/formula/tokenarray.hxx
>>
>> And the line is bellow:
>>
>> typedef std::unordered_set<OpCode,std::hash<std::underlying_type<OpCode>::type> > unordered_opcode_set;
>>
>> Changed it several times, but make check always failed for me.

There is nothing to simplify there.  The second template parameter of 
std::unordered_set<T> defaults to std::hash<T>, but what we need there 
is something different.


More information about the LibreOffice mailing list