https://bugs.kde.org/show_bug.cgi?id=527888

Toni Asensi Esteve <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #1 from Toni Asensi Esteve <[email protected]> ---
Thanks! It is logical that `itemGreaterThan` is not be the same as
`!itemLessThan`, etc.

Before opening a merge request: I used `-D_GLIBCXX_DEBUG` when building
Krusader, I executed Krusader (one instance with many tabs) although
immediately I saw a "Error: comparison doesn't meet irreflexive requirements,
assert(!(a < a))". I added the `&& itemLessThan(sp2, sp)` that you mentioned,
although the result was the same.

I tried also adding a `if (sp->isDummy() && sp2->isDummy()) {return false;}`
before `if (sp->isDummy()) return sp->isAscending();` and then I saw no error.
What do you think about adding that code (in addition to the `&&
itemLessThan(sp2, sp)` that you mentioned?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to