mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 09:36:21 +00:00
JANITORIAL: Add comment about the stability of Common::sort.
svn-id: r51522
This commit is contained in:
parent
e29d6e681a
commit
8e8023d7cc
@ -197,6 +197,10 @@ T sortPartition(T first, T last, T pivot, StrictWeakOrdering &comp) {
|
||||
/**
|
||||
* Simple sort function, modeled after std::sort.
|
||||
* It compares data with the given comparator object comp.
|
||||
*
|
||||
* Like std::sort this is not guaranteed to be stable.
|
||||
* Actually as the time of writing our implementation
|
||||
* is unstable.
|
||||
*/
|
||||
template<typename T, class StrictWeakOrdering>
|
||||
void sort(T first, T last, StrictWeakOrdering comp) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user