Fix error: control may reach end of non-void lambda
If by_name and by_relation are both omitted, behave as if both were given: sort first by relation then by name.
This commit is contained in:
parent
4c9eab71d4
commit
1051cef5c2
1 changed files with 2 additions and 0 deletions
|
@ -405,6 +405,8 @@ void lobby_info::sort_users(bool by_name, bool by_relation)
|
|||
if(by_relation) {
|
||||
return u1->relation < u2->relation;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue