mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 20:25:34 +08:00
Style and comments
This commit is contained in:
@@ -70,6 +70,7 @@ namespace BlackMisc
|
||||
CAircraftSituationChange();
|
||||
|
||||
//! Ctor with n situations
|
||||
//! \remark the timestamps of the latest situation will be used
|
||||
CAircraftSituationChange(const CAircraftSituationList &situations, const PhysicalQuantities::CLength &cg, bool isVtol, bool alreadySortedLatestFirst = false, bool calcStdDeviations = false);
|
||||
|
||||
//! Get callsign
|
||||
|
||||
@@ -56,6 +56,7 @@ namespace BlackMisc
|
||||
if (elevationPlane.isNull()) { return 0; }
|
||||
if (this->isEmpty()) { return 0; }
|
||||
|
||||
// the change has the timestamps of the latest situation
|
||||
Q_ASSERT_X(m_tsAdjustedSortHint == CAircraftSituationList::AdjustedTimestampLatestFirst || this->isSortedAdjustedLatestFirstWithoutNullPositions(), Q_FUNC_INFO, "Need sorted situations without NULL positions");
|
||||
const CAircraftSituationChange simpleChange(*this, model.getCG(), model.isVtol(), true, false);
|
||||
int c = 0; // changed elevations
|
||||
|
||||
Reference in New Issue
Block a user