mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:38:15 +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:
@@ -35,19 +35,6 @@ template <class AVIO> void CModulator<AVIO>::registerMetadata()
|
||||
qDBusRegisterMetaType<AVIO>();
|
||||
}
|
||||
|
||||
/*
|
||||
* Assigment operator =
|
||||
*/
|
||||
template <class AVIO> CModulator<AVIO>& CModulator<AVIO>::operator=(const CModulator<AVIO> &other)
|
||||
{
|
||||
if (this == &other) return *this;
|
||||
this->m_frequencyActive = other.m_frequencyActive;
|
||||
this->m_frequencyStandby = other.m_frequencyStandby;
|
||||
this->m_digits = other.m_digits;
|
||||
this->setName(other.getName());
|
||||
return *this;
|
||||
}
|
||||
|
||||
/*
|
||||
* Equal operator ==
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user