mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
removed operator= and copy ctor from classes where they only duplicated the behaviour of the default implementations that C++ generates automatically
This commit is contained in:
@@ -50,12 +50,6 @@ protected:
|
||||
*/
|
||||
CEarthAngle() : CAngle(0.0, BlackMisc::PhysicalQuantities::CAngleUnit::deg()) {}
|
||||
|
||||
/*!
|
||||
* \brief Copy constructor
|
||||
* \param latOrLon
|
||||
*/
|
||||
CEarthAngle(const LATorLON &latOrLon) : CAngle(latOrLon) {}
|
||||
|
||||
/*!
|
||||
* \brief Init by double value
|
||||
* \param value
|
||||
@@ -184,17 +178,6 @@ public:
|
||||
return this->CAngle::operator >=(latOrLon);
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Assignment operator =
|
||||
* \param latOrLon
|
||||
* \return
|
||||
*/
|
||||
CEarthAngle &operator =(const LATorLON &latOrLon)
|
||||
{
|
||||
this->CAngle::operator =(latOrLon);
|
||||
return *this;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Plus operator +
|
||||
* \param latOrLon
|
||||
|
||||
Reference in New Issue
Block a user