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