refs #413, #403 Removed default constructors of CAvionicsBase and CPhysicalQuantity, not needed.

Conflicts:
	src/blackmisc/aviation/avionicsbase.h
This commit is contained in:
Mathew Sutcliffe
2015-05-06 23:09:31 +01:00
parent 2f66785c63
commit 84800c190a
4 changed files with 17 additions and 18 deletions

View File

@@ -37,11 +37,6 @@ namespace BlackMisc
template <class MU, class PQ>
QString CPhysicalQuantity<MU, PQ>::getUnitSymbol() const { return this->m_unit.getSymbol(true); }
template <class MU, class PQ>
CPhysicalQuantity<MU, PQ>::CPhysicalQuantity() :
m_value(0.0), m_unit(MU::nullUnit())
{ }
template <class MU, class PQ>
CPhysicalQuantity<MU, PQ>::CPhysicalQuantity(double value, const MU &unit) :
m_value(unit.isNull() ? 0.0 : value), m_unit(unit)

View File

@@ -217,10 +217,6 @@ namespace BlackMisc
QString convertToQString(bool i18n = false) const;
protected:
//! Default constructor
//! \todo Remove as part of MS' CValueObject refactoring
CPhysicalQuantity();
//! Constructor with double
CPhysicalQuantity(double value, const MU &unit);