mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
refs #937 Resolved clazy warnings: pass-by-value/reference.
This commit is contained in:
@@ -320,7 +320,7 @@ namespace BlackMisc
|
||||
CAircraftIcaoCodeList grouped;
|
||||
QString designator;
|
||||
QString manufacturer;
|
||||
for (const CAircraftIcaoCode code : as_const(copy))
|
||||
for (const CAircraftIcaoCode &code : as_const(copy))
|
||||
{
|
||||
if (code.getDesignator() != designator || code.getManufacturer() != manufacturer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user