mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +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:
@@ -78,19 +78,6 @@ public:
|
||||
*/
|
||||
CAltitude(BlackMisc::PhysicalQuantities::CLength altitude, bool msl) : BlackMisc::PhysicalQuantities::CLength(altitude), m_msl(msl) {}
|
||||
|
||||
/*!
|
||||
* \brief Copy constructor
|
||||
* \param other
|
||||
*/
|
||||
CAltitude(const CAltitude &other) : BlackMisc::PhysicalQuantities::CLength(other), m_msl(other.m_msl) {}
|
||||
|
||||
/*!
|
||||
* \brief Assignment operator =
|
||||
* \param other
|
||||
* @return
|
||||
*/
|
||||
CAltitude &operator =(const CAltitude &other);
|
||||
|
||||
/*!
|
||||
* \brief Equal operator ==
|
||||
* \param other
|
||||
|
||||
Reference in New Issue
Block a user