]> git.tdb.fi Git - libs/core.git/commit
Use std::less as predicate in algorithms
authorMikko Rasa <tdb@tdb.fi>
Wed, 26 Oct 2022 08:52:12 +0000 (11:52 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 26 Oct 2022 08:52:12 +0000 (11:52 +0300)
commit01844ee2ba101c25655dd5eacf62ca9365f26f21
treeeaf51ca7da1f1816a0cf20bc13305729a62e4bf6
parentb5c1bea5084768c7382c376383032c1a6ea16803
Use std::less as predicate in algorithms

It guarantees a consistent ordering of pointers, unlike the < operator.
source/core/algorithm.h