This commit is contained in:
aozhiwei 2022-05-28 22:46:24 +08:00
parent 6ec964885f
commit bb84bdc29f

View File

@ -64,7 +64,7 @@ void PlayerStats::Statement(Human* sender)
});
std::sort
(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;
});