Use std::as_const (C++17 feature)

This commit is contained in:
Mat Sutcliffe
2021-04-17 22:21:18 +01:00
parent 6d617f40a4
commit 33209fa1eb
42 changed files with 92 additions and 103 deletions

View File

@@ -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)
{