mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +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.
|
||||
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
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace BlackMisc
|
||||
{
|
||||
public:
|
||||
//! Default constructor.
|
||||
CAirportIcaoCode() = default;
|
||||
CAirportIcaoCode() {}
|
||||
|
||||
//! Constructor
|
||||
CAirportIcaoCode(const QString &icaoCode) : m_icaoCode(CAirportIcaoCode::unifyAirportCode(icaoCode)) {}
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace BlackMisc
|
||||
};
|
||||
|
||||
//! Default constructor.
|
||||
CCallsign() = default;
|
||||
CCallsign() {}
|
||||
|
||||
//! Constructor
|
||||
CCallsign(const QString &callsign, TypeHint hint = NoHint)
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace BlackMisc
|
||||
};
|
||||
|
||||
//! Constructor
|
||||
CCountry() = default;
|
||||
CCountry() {}
|
||||
|
||||
//! Constructor
|
||||
CCountry(const QString &iso, const QString &name);
|
||||
|
||||
Reference in New Issue
Block a user