mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Misc. style issues interpolation/model adding
This commit is contained in:
@@ -229,7 +229,7 @@ namespace BlackCore
|
||||
break;
|
||||
}
|
||||
BLACK_FALLTHROUGH;
|
||||
case CAircraftMatcherSetup::PickFirst:
|
||||
case CAircraftMatcherSetup::PickFirst: // fallthru intentionally
|
||||
default:
|
||||
usedStrategy = CAircraftMatcherSetup::PickFirst; // re-assigned if fall-through
|
||||
matchedModel = candidates.front();
|
||||
|
||||
@@ -233,7 +233,7 @@ namespace BlackCore
|
||||
|
||||
void ISimulator::reset()
|
||||
{
|
||||
this->clearAllRemoteAircraftData();
|
||||
this->clearAllRemoteAircraftData(); // reset
|
||||
}
|
||||
|
||||
bool ISimulator::isUpdateAllRemoteAircraft(qint64 currentTimestamp) const
|
||||
@@ -489,7 +489,7 @@ namespace BlackCore
|
||||
{
|
||||
this->physicallyRemoveAllRemoteAircraft();
|
||||
const CStatusMessageList msgs = this->debugVerifyStateAfterAllAircraftRemoved();
|
||||
this->clearAllRemoteAircraftData();
|
||||
this->clearAllRemoteAircraftData(); // "dot command"
|
||||
if (!msgs.isEmpty()) { emit this->driverMessages(msgs); }
|
||||
const CSimulatedAircraftList aircraft = this->getAircraftInRange();
|
||||
for (const CSimulatedAircraft &a : aircraft)
|
||||
@@ -734,7 +734,7 @@ namespace BlackCore
|
||||
const int r = this->physicallyRemoveMultipleRemoteAircraft(callsigns);
|
||||
|
||||
// leave no trash
|
||||
this->clearAllRemoteAircraftData();
|
||||
this->clearAllRemoteAircraftData(); // remove all aircraft
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user