Codechange: unify documentation and parameter names of sorters

This commit is contained in:
Rubidium
2026-02-11 04:53:39 +01:00
committed by rubidium42
parent 83f58b3fbd
commit 8e75626b49
20 changed files with 116 additions and 190 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ int8_t SaveHighScoreValue(const Company *c)
return std::distance(highscores.begin(), it);
}
/** Sort all companies given their performance */
/** Sort all companies given their performance. @copydoc GUIList::Sorter */
static bool HighScoreSorter(const Company * const &a, const Company * const &b)
{
return b->old_economy[0].performance_history < a->old_economy[0].performance_history;