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

@@ -41,7 +41,8 @@ private:
* \param prefixName
* \param factor
*/
CMeasurementPrefix(const QString &name, const QString &symbol, double factor);
CMeasurementPrefix(const QString &name, const QString &symbol, double factor) :
m_name(name), m_symbol(symbol), m_factor(factor) {}
protected:
/*!
@@ -75,19 +76,6 @@ protected:
}
public:
/*!
* \brief Copy constructor
* \param other
*/
CMeasurementPrefix(const CMeasurementPrefix &other);
/*!
* \brief Assigmnet operator =
* \param other
* \return
*/
CMeasurementPrefix &operator =(const CMeasurementPrefix &other);
/*!
* \brief Equal operator ==
* \param other
@@ -439,13 +427,6 @@ protected:
*/
CMeasurementUnit(const CMeasurementUnit &other);
/*!
* \brief Assignment operator =
* \param other
* \return
*/
CMeasurementUnit &operator =(const CMeasurementUnit &other);
/*!
* \brief String for streaming operators is full name
* \return