mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 14:45:33 +08:00
refactor: Rename verify macros
This commit is contained in:
@@ -125,14 +125,14 @@ namespace BlackMisc::Simulation::Data
|
||||
|
||||
CAircraftModelList IMultiSimulatorModelCaches::getSynchronizedCachedModels(const CSimulatorInfo &simulator)
|
||||
{
|
||||
BLACK_VERIFY_X(simulator.isSingleSimulator(), Q_FUNC_INFO, "need single simulator");
|
||||
SWIFT_VERIFY_X(simulator.isSingleSimulator(), Q_FUNC_INFO, "need single simulator");
|
||||
this->synchronizeCache(simulator);
|
||||
return this->getCachedModels(simulator);
|
||||
}
|
||||
|
||||
QDateTime IMultiSimulatorModelCaches::getSynchronizedTimestamp(const CSimulatorInfo &simulator)
|
||||
{
|
||||
BLACK_VERIFY_X(simulator.isSingleSimulator(), Q_FUNC_INFO, "need single simulator");
|
||||
SWIFT_VERIFY_X(simulator.isSingleSimulator(), Q_FUNC_INFO, "need single simulator");
|
||||
this->synchronizeCache(simulator);
|
||||
return this->getCacheTimestamp(simulator);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user