mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
Ref T308, performance optimized fromDatabaseJsonCaching
* maps for id/object * caching fromDatabaseJsonCaching * fixed CAircraftModel::fromDatabaseJson wrong prefix
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <QJsonObject>
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
#include <QMap>
|
||||
#include <QSet>
|
||||
|
||||
namespace BlackMisc
|
||||
@@ -281,6 +282,10 @@ namespace BlackMisc
|
||||
BLACK_METAMEMBER(isMilitary)
|
||||
);
|
||||
};
|
||||
|
||||
//! Airline ICAO/id list
|
||||
using AirlineIcaoIdMap = QMap<int, CAirlineIcaoCode>;
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user