mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 19:35:33 +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:
@@ -194,20 +194,6 @@ public:
|
||||
return !((*this) == other);
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Assigment operator =
|
||||
* \param other
|
||||
* \return
|
||||
*/
|
||||
CCoordinateGeodetic &operator =(const CCoordinateGeodetic &other)
|
||||
{
|
||||
if (this == &other) return *this;
|
||||
this->m_height = other.m_height;
|
||||
this->m_latitude = other.m_latitude;
|
||||
this->m_longitude = other.m_longitude;
|
||||
return *this;
|
||||
}
|
||||
|
||||
/*
|
||||
* Register metadata
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user