From c8114c2d850debcd4d048dad61b5131a4b525ddb Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Sun, 18 Aug 2013 23:13:56 +0100 Subject: [PATCH] Remove switchUnit() from CHeading and CTrack; they already inherit switchUnit() from CPhysicalQuantity --- src/blackmisc/avheading.h | 11 ----------- src/blackmisc/avtrack.h | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/src/blackmisc/avheading.h b/src/blackmisc/avheading.h index a75dd1c56..83d678da6 100644 --- a/src/blackmisc/avheading.h +++ b/src/blackmisc/avheading.h @@ -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 */ diff --git a/src/blackmisc/avtrack.h b/src/blackmisc/avtrack.h index e31135998..6eca3ecf8 100644 --- a/src/blackmisc/avtrack.h +++ b/src/blackmisc/avtrack.h @@ -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 */