mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
refs #469 convenience function in METAR set
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2cfd3540b8
commit
29d436ee67
@@ -17,5 +17,10 @@ namespace BlackMisc
|
||||
CCollection<CMetar>(other)
|
||||
{ }
|
||||
|
||||
CMetar CMetarSet::getMetarForAirport(const Aviation::CAirportIcaoCode &icao) const
|
||||
{
|
||||
return this->findFirstByOrDefault(&CMetar::getAirportIcaoCode, icao);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user