mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
Fix clang-tidy and clazy warnings
This commit is contained in:
@@ -33,7 +33,7 @@ namespace BlackCore
|
||||
|
||||
DeletePilot DeletePilot::fromTokens(const QStringList &tokens)
|
||||
{
|
||||
if (tokens.size() < 1)
|
||||
if (tokens.isEmpty())
|
||||
{
|
||||
CLogMessage(static_cast<DeletePilot *>(nullptr)).debug(u"Wrong number of arguments.");
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user