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

--- Comment #5 from Lamarque V. Souza <lamar...@kde.org> ---
Hmmm std::sort() expects the lambda to return true if left is less than right,
but it returns true when they are equal too. According to this [1] that can
lead to an unsorted array internally and that can lead to a crash like this
one. Can you recompile the lamba to use < instead of <= and test if it solves
your problem?

[1]
http://stackoverflow.com/questions/7767998/should-stdsort-work-with-lambda-function-in-c0x-c11

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

Reply via email to