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:
Gregory A Lundberg 2017-10-13 22:26:22 -05:00 committed by Charles Dang
parent 4c9eab71d4
commit 1051cef5c2

View file

@ -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;
});
}