mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #937 Resolved clazy warnings: miscellaneous.
This commit is contained in:
@@ -51,6 +51,7 @@ namespace BlackMisc
|
||||
QStringList CVPilotModelRuleSet::toUpper(const QStringList &stringList)
|
||||
{
|
||||
QStringList upper;
|
||||
upper.reserve(stringList.size());
|
||||
for (const QString &s : stringList)
|
||||
{
|
||||
upper.append(s.toUpper());
|
||||
@@ -61,6 +62,7 @@ namespace BlackMisc
|
||||
QStringList CVPilotModelRuleSet::getSortedModelNames() const
|
||||
{
|
||||
QStringList ms;
|
||||
ms.reserve(size());
|
||||
for (const CVPilotModelRule &rule : (*this))
|
||||
{
|
||||
ms.append(rule.getModelName());
|
||||
|
||||
Reference in New Issue
Block a user