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:
Mathew Sutcliffe
2013-08-19 03:21:12 +01:00
parent a6f89ce9ea
commit 21ca361bc1
32 changed files with 2 additions and 367 deletions

View File

@@ -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 ==
*/