mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
refs #624 Use auto function return type deduction.
This commit is contained in:
@@ -93,7 +93,7 @@ namespace BlackMisc
|
||||
CONTAINER r;
|
||||
if (suffix.isEmpty()) { return r; }
|
||||
QString sfxUpper(suffix.trimmed().toUpper());
|
||||
r = this->container().findBy([ = ](const OBJ & csObj) -> bool
|
||||
r = this->container().findBy([ = ](const OBJ & csObj)
|
||||
{
|
||||
return (csObj.getCallsign().getSuffix() == sfxUpper);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user