mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 20:25:34 +08:00
Use std::as_const (C++17 feature)
This commit is contained in:
@@ -66,7 +66,7 @@ namespace BlackGui
|
||||
int row = 0;
|
||||
int col = 0;
|
||||
int added = 0;
|
||||
for (const CAtcStation &station : as_const(stations))
|
||||
for (const CAtcStation &station : std::as_const(stations))
|
||||
{
|
||||
if (m_ignoreNonAtc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user