mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 19:25:49 +08:00
refactor: Fix clang-tidy modernize-return-braced-init-list
This commit is contained in:
@@ -52,6 +52,6 @@ namespace swift::core::fsd
|
||||
else if (pair[0] == QLatin1String("LIVERY")) { livery = pair[1]; }
|
||||
}
|
||||
}
|
||||
return PlaneInformation(tokens[0], tokens[1], aircraft, airline, livery);
|
||||
return { tokens[0], tokens[1], aircraft, airline, livery };
|
||||
}
|
||||
} // namespace swift::core::fsd
|
||||
|
||||
Reference in New Issue
Block a user