Fixed -Wdelete-non-virtual-dtor warnings arising out of the removal of CAvionicsBase.

This commit is contained in:
Mathew Sutcliffe
2015-05-13 00:30:36 +01:00
parent b1c5717746
commit 560b36040d
3 changed files with 9 additions and 4 deletions

View File

@@ -166,11 +166,10 @@ namespace BlackMisc
//! \copydoc CValueObject::convertToQString
QString convertToQString(bool i18n = false) const;
protected:
//! Default value?
virtual bool isDefaultValue() const { return this->m_transponderCode == 0; }
private:
//! Default value?
bool isDefaultValue() const { return this->m_transponderCode == 0; }
BLACK_ENABLE_TUPLE_CONVERSION(CTransponder)
int m_transponderCode; //!< Transponder code
TransponderMode m_transponderMode; //!< Transponder mode