1
This commit is contained in:
parent
6ec964885f
commit
bb84bdc29f
@ -64,7 +64,7 @@ void PlayerStats::Statement(Human* sender)
|
|||||||
});
|
});
|
||||||
std::sort
|
std::sort
|
||||||
(rank_list.begin(), rank_list.end(),
|
(rank_list.begin(), rank_list.end(),
|
||||||
[cmpFunc] (std::vector<Human*>& a, std::vector<Human*>& b )
|
[cmpFunc] (const std::vector<Human*>& a, const std::vector<Human*>& b )
|
||||||
{
|
{
|
||||||
return cmpFunc(a[0], b[0]) > 0;
|
return cmpFunc(a[0], b[0]) > 0;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user