mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +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:
@@ -203,20 +203,6 @@ public:
|
||||
return !((*this) == other);
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Assigment operator =
|
||||
* \param other
|
||||
* \return
|
||||
*/
|
||||
CVector3DBase &operator =(const CVector3DBase &other)
|
||||
{
|
||||
if (this == &other) return *this;
|
||||
this->m_i = other.m_i;
|
||||
this->m_j = other.m_j;
|
||||
this->m_k = other.m_k;
|
||||
return *this;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Operator +=
|
||||
* \param other
|
||||
|
||||
Reference in New Issue
Block a user