mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +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:
@@ -108,20 +108,6 @@ public:
|
||||
return !((*this) == other);
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Assigment operator =
|
||||
* \param other
|
||||
* \return
|
||||
*/
|
||||
CCoordinateNed &operator =(const CCoordinateNed &other)
|
||||
{
|
||||
if (this == &other) return *this;
|
||||
this->CVector3DBase::operator = (other);
|
||||
this->m_hasReferencePosition = other.m_hasReferencePosition;
|
||||
this->m_referencePosition = other.m_referencePosition;
|
||||
return *this;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Corresponding reference position
|
||||
* \return
|
||||
|
||||
Reference in New Issue
Block a user