mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Fix clang-tidy and clazy warnings
This commit is contained in:
@@ -92,7 +92,7 @@ namespace BlackMisc
|
||||
QSet<QString> removeSet(knownModels.begin(), knownModels.end());
|
||||
removeSet &= QSet<QString>(remove.begin(), remove.end());
|
||||
int c = 0;
|
||||
for (const QString &model : removeSet)
|
||||
for (const QString &model : std::as_const(removeSet))
|
||||
{
|
||||
c += this->removeIf(&CVPilotModelRule::getModelName, model);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user