Style and comments

This commit is contained in:
Klaus Basan
2018-07-12 01:57:56 +02:00
parent dd4ce91744
commit 6af1998f58
5 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -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