mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +08:00
Use std::as_const (C++17 feature)
This commit is contained in:
@@ -282,7 +282,7 @@ namespace BlackCore
|
||||
|
||||
// we might have unresolved callsigns
|
||||
// those are the ones not in range
|
||||
for (const CCallsign &callsign : as_const(searchList))
|
||||
for (const CCallsign &callsign : std::as_const(searchList))
|
||||
{
|
||||
const CUserList usersByCallsign = sApp->getWebDataServices()->getUsersForCallsign(callsign);
|
||||
if (usersByCallsign.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user