refs #875, PODType

Clang: const type without a user-provided default constructor
This commit is contained in:
Klaus Basan
2017-02-09 17:24:23 +01:00
committed by Mathew Sutcliffe
parent d864171358
commit 87fc64f86d
4 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ namespace BlackMisc
};
//! Default constructor.
CAircraftIcaoCode() = default;
CAircraftIcaoCode() {}
//! Constructor.
CAircraftIcaoCode(const QString &designator, const QString &combinedType = "");
@@ -249,7 +249,7 @@ namespace BlackMisc
BlackMisc::CStatusMessageList validate() const;
//! As a brief HTML summary (e.g. used in tooltips)
QString asHtmlSummary () const;
QString asHtmlSummary() const;
//! Considers rank, manufacturer and family 0..90
//! \remark normally used with a selected set of ICAO codes or combined types

View File

@@ -31,7 +31,7 @@ namespace BlackMisc
{
public:
//! Default constructor.
CAirportIcaoCode() = default;
CAirportIcaoCode() {}
//! Constructor
CAirportIcaoCode(const QString &icaoCode) : m_icaoCode(CAirportIcaoCode::unifyAirportCode(icaoCode)) {}

View File

@@ -52,7 +52,7 @@ namespace BlackMisc
};
//! Default constructor.
CCallsign() = default;
CCallsign() {}
//! Constructor
CCallsign(const QString &callsign, TypeHint hint = NoHint)

View File

@@ -48,7 +48,7 @@ namespace BlackMisc
};
//! Constructor
CCountry() = default;
CCountry() {}
//! Constructor
CCountry(const QString &iso, const QString &name);