mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
refs #937 Resolved clazy warnings: unnecessary detaching of containers.
This commit is contained in:
@@ -90,7 +90,7 @@ namespace BlackMisc
|
||||
QStringList remove(toUpper(modelsToBeRemoved));
|
||||
remove.sort();
|
||||
|
||||
QSet<QString> removeSet(knownModels.toSet().intersect(remove.toSet()));
|
||||
QSet<QString> removeSet(knownModels.toSet() & remove.toSet());
|
||||
int c = 0;
|
||||
for (const QString &model : removeSet)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user