mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Return a default-constructed QString instead of implicitly converting an empty string literal.
This commit is contained in:
@@ -33,7 +33,7 @@ namespace BlackMisc
|
||||
{
|
||||
if (CSelcal::isValidCharacter(c)) { s += c;}
|
||||
}
|
||||
return CSelcal::isValidCode(s) ? s : QString("");
|
||||
return CSelcal::isValidCode(s) ? s : QString();
|
||||
}
|
||||
|
||||
bool CSelcal::equalsString(const QString &code) const
|
||||
|
||||
Reference in New Issue
Block a user