From 6fd3c78d33bb37f0ffa3abf4943cec3fabe08d6a Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Sat, 2 May 2015 18:33:50 +0100 Subject: [PATCH] refs #413 Removed some operators of CEarthAngle which were not used, not needed, and not working. --- src/blackmisc/geo/earthangle.cpp | 24 ------------------------ src/blackmisc/geo/earthangle.h | 11 ----------- 2 files changed, 35 deletions(-) diff --git a/src/blackmisc/geo/earthangle.cpp b/src/blackmisc/geo/earthangle.cpp index 8c0c56def..89c38eb10 100644 --- a/src/blackmisc/geo/earthangle.cpp +++ b/src/blackmisc/geo/earthangle.cpp @@ -38,30 +38,6 @@ namespace BlackMisc return *this; } - template - bool CEarthAngle::operator >(const CEarthAngle &latOrLon) const - { - return this->PhysicalQuantities::CAngle::operator >(latOrLon); - } - - template - bool CEarthAngle::operator <(const CEarthAngle &latOrLon) const - { - return this->PhysicalQuantities::CAngle::operator >(latOrLon); - } - - template - bool CEarthAngle::operator <=(const CEarthAngle &latOrLon) const - { - return this->PhysicalQuantities::CAngle::operator <=(latOrLon); - } - - template - bool CEarthAngle::operator >=(const CEarthAngle &latOrLon) const - { - return this->PhysicalQuantities::CAngle::operator >=(latOrLon); - } - template LATorLON CEarthAngle::operator +(const CEarthAngle &latOrLon) const { diff --git a/src/blackmisc/geo/earthangle.h b/src/blackmisc/geo/earthangle.h index 3e7399e6c..c04e4406f 100644 --- a/src/blackmisc/geo/earthangle.h +++ b/src/blackmisc/geo/earthangle.h @@ -45,17 +45,6 @@ namespace BlackMisc //! Multiply operator *= CEarthAngle &operator *=(double multiply); - //! Greater operator > - bool operator >(const CEarthAngle &latOrLon) const; - //! Less operator < - bool operator <(const CEarthAngle &latOrLon) const; - - //! Less equal operator <= - bool operator <=(const CEarthAngle &latOrLon) const; - - //! Greater equal operator >= - bool operator >=(const CEarthAngle &latOrLon) const; - //! Plus operator + LATorLON operator +(const CEarthAngle &latOrLon) const;