mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Use std::as_const (C++17 feature)
This commit is contained in:
@@ -275,7 +275,7 @@ namespace BlackMisc
|
||||
file.close();
|
||||
parseFullPackage(content, package);
|
||||
|
||||
for (const auto &plane : as_const(package.planes))
|
||||
for (const auto &plane : std::as_const(package.planes))
|
||||
{
|
||||
if (installedModels.containsModelString(plane.getModelName()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user