mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +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:
@@ -22,17 +22,6 @@ QString CAltitude::convertToQString(bool /* i18n */) const
|
||||
return s.append(this->m_msl ? " MSL" : " AGL");
|
||||
}
|
||||
|
||||
/*
|
||||
* Assigment
|
||||
*/
|
||||
CAltitude &CAltitude::operator =(const CAltitude &other)
|
||||
{
|
||||
if (this == &other) return *this;
|
||||
CLength::operator = (other);
|
||||
this->m_msl = other.m_msl;
|
||||
return *this;
|
||||
}
|
||||
|
||||
/*
|
||||
* Equal?
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user