mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Remove switchUnit() from CHeading and CTrack; they already inherit switchUnit() from CPhysicalQuantity
This commit is contained in:
@@ -117,17 +117,6 @@ public:
|
||||
*/
|
||||
bool isTrueHeading() const { return !this->m_magnetic; }
|
||||
|
||||
/*!
|
||||
* \brief Switch angle unit
|
||||
* \param newUnit
|
||||
* \return
|
||||
*/
|
||||
CHeading &switchUnit(const BlackMisc::PhysicalQuantities::CAngleUnit &newUnit)
|
||||
{
|
||||
this->CAngle::switchUnit(newUnit);
|
||||
return *this;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Register metadata
|
||||
*/
|
||||
|
||||
@@ -124,17 +124,6 @@ public:
|
||||
return !this->m_magnetic;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Switch angle unit
|
||||
* \param newUnit
|
||||
* \return
|
||||
*/
|
||||
CTrack &switchUnit(const BlackMisc::PhysicalQuantities::CAngleUnit &newUnit)
|
||||
{
|
||||
this->CAngle::switchUnit(newUnit);
|
||||
return *this;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Register metadata
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user