fix compiler issues
This commit is contained in:
@@ -280,9 +280,9 @@ void Inbound::predictETA(const EuroScopePlugIn::CRadarTarget& target, const Euro
|
|||||||
/* get the ground speed */
|
/* get the ground speed */
|
||||||
Velocity groundspeed;
|
Velocity groundspeed;
|
||||||
if (0 == target.GetGS())
|
if (0 == target.GetGS())
|
||||||
groundspeed = static_cast<double>(target.GetPosition().GetReportedGS()) * knot;
|
groundspeed = static_cast<float>(target.GetPosition().GetReportedGS()) * knot;
|
||||||
else
|
else
|
||||||
groundspeed = static_cast<double>(target.GetGS()) * knot;
|
groundspeed = static_cast<float>(target.GetGS()) * knot;
|
||||||
|
|
||||||
const auto& destination = gsl::at(this->m_arrivalRoute, this->m_nextStarWaypoint);
|
const auto& destination = gsl::at(this->m_arrivalRoute, this->m_nextStarWaypoint);
|
||||||
Length distanceToNextWaypoint = 0_m;
|
Length distanceToNextWaypoint = 0_m;
|
||||||
|
|||||||
Reference in New Issue
Block a user