mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Ref T298, adjusting used aircraft matcher (using setup)
This commit is contained in:
@@ -67,10 +67,10 @@ namespace BlackSample
|
||||
streamOut << "Ambigious models: " << cfgParser.getAircraftCfgEntriesList().detectAmbiguousTitles().join(", ") << endl;
|
||||
|
||||
// sync definitions, remove redundant ones
|
||||
CAircraftMatcher matcher(CAircraftMatcher::All);
|
||||
CAircraftMatcher matcher;
|
||||
matcher.setModelSet(vpRulesReader.getAsModelsFromCache(), CSimulatorInfo::FSX);
|
||||
|
||||
CAircraftIcaoCode icao("C172");
|
||||
const CAircraftIcaoCode icao("C172");
|
||||
streamOut << "Searching for " << icao << endl;
|
||||
streamOut << matcher.getModelSet().findByIcaoDesignators(icao, CAirlineIcaoCode()) << endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user