mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #619, use a combined cache class
* moved caches to blackmisc * used CModelCaches in loader * applied changes in simulator specific loader classes * renamed find function to findFirstByModelStringOrDefault * made merge function static so it can be used elsewhere
This commit is contained in:
@@ -197,7 +197,7 @@ namespace BlackMisc
|
||||
|
||||
CAircraftModel CAircraftMatcher::matchByExactModelName(const CSimulatedAircraft &remoteAircraft)
|
||||
{
|
||||
return this->m_installedModels.findFirstByModelString(remoteAircraft.getModelString());
|
||||
return this->m_installedModels.findFirstByModelStringOrDefault(remoteAircraft.getModelString());
|
||||
}
|
||||
|
||||
CAircraftModel CAircraftMatcher::matchInstalledModelsByIcaoData(const CSimulatedAircraft &remoteAircraft)
|
||||
|
||||
Reference in New Issue
Block a user