mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Fix clang-tidy and clazy warnings
This commit is contained in:
@@ -596,7 +596,7 @@ namespace BlackCore
|
||||
CCallsignSet callsigns;
|
||||
callsigns.push_back(callsign);
|
||||
const CUserList users = this->getUsersForCallsigns(callsigns);
|
||||
if (users.size() < 1) { return CUser(); }
|
||||
if (users.isEmpty()) { return CUser(); }
|
||||
return users[0];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user