mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
refs #875, PODType
Clang: const type without a user-provided default constructor
This commit is contained in:
committed by
Mathew Sutcliffe
parent
d864171358
commit
87fc64f86d
@@ -54,7 +54,7 @@ namespace BlackMisc
|
|||||||
};
|
};
|
||||||
|
|
||||||
//! Default constructor.
|
//! Default constructor.
|
||||||
CAircraftIcaoCode() = default;
|
CAircraftIcaoCode() {}
|
||||||
|
|
||||||
//! Constructor.
|
//! Constructor.
|
||||||
CAircraftIcaoCode(const QString &designator, const QString &combinedType = "");
|
CAircraftIcaoCode(const QString &designator, const QString &combinedType = "");
|
||||||
@@ -249,7 +249,7 @@ namespace BlackMisc
|
|||||||
BlackMisc::CStatusMessageList validate() const;
|
BlackMisc::CStatusMessageList validate() const;
|
||||||
|
|
||||||
//! As a brief HTML summary (e.g. used in tooltips)
|
//! As a brief HTML summary (e.g. used in tooltips)
|
||||||
QString asHtmlSummary () const;
|
QString asHtmlSummary() const;
|
||||||
|
|
||||||
//! Considers rank, manufacturer and family 0..90
|
//! Considers rank, manufacturer and family 0..90
|
||||||
//! \remark normally used with a selected set of ICAO codes or combined types
|
//! \remark normally used with a selected set of ICAO codes or combined types
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ namespace BlackMisc
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//! Default constructor.
|
//! Default constructor.
|
||||||
CAirportIcaoCode() = default;
|
CAirportIcaoCode() {}
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CAirportIcaoCode(const QString &icaoCode) : m_icaoCode(CAirportIcaoCode::unifyAirportCode(icaoCode)) {}
|
CAirportIcaoCode(const QString &icaoCode) : m_icaoCode(CAirportIcaoCode::unifyAirportCode(icaoCode)) {}
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ namespace BlackMisc
|
|||||||
};
|
};
|
||||||
|
|
||||||
//! Default constructor.
|
//! Default constructor.
|
||||||
CCallsign() = default;
|
CCallsign() {}
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CCallsign(const QString &callsign, TypeHint hint = NoHint)
|
CCallsign(const QString &callsign, TypeHint hint = NoHint)
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ namespace BlackMisc
|
|||||||
};
|
};
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CCountry() = default;
|
CCountry() {}
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CCountry(const QString &iso, const QString &name);
|
CCountry(const QString &iso, const QString &name);
|
||||||
|
|||||||
Reference in New Issue
Block a user