mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
clang: error: default initialization of an object of const type 'const BlackMisc::Aviation::CAirlineIcaoCodeList' without a user-provided default constructor
This commit is contained in:
@@ -18,6 +18,9 @@ namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
CAircraftIcaoCodeList::CAircraftIcaoCodeList()
|
||||
{ }
|
||||
|
||||
CAircraftIcaoCodeList::CAircraftIcaoCodeList(const CSequence<CAircraftIcaoCode> &other) :
|
||||
CSequence<CAircraftIcaoCode>(other)
|
||||
{ }
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace BlackMisc
|
||||
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CAircraftIcaoCodeList)
|
||||
|
||||
//! Default constructor.
|
||||
CAircraftIcaoCodeList() = default;
|
||||
CAircraftIcaoCodeList();
|
||||
|
||||
//! Construct from a base class object.
|
||||
CAircraftIcaoCodeList(const CSequence<CAircraftIcaoCode> &other);
|
||||
|
||||
@@ -18,6 +18,9 @@ namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
CAirlineIcaoCodeList::CAirlineIcaoCodeList()
|
||||
{ }
|
||||
|
||||
CAirlineIcaoCodeList::CAirlineIcaoCodeList(const CSequence<CAirlineIcaoCode> &other) :
|
||||
CSequence<CAirlineIcaoCode>(other)
|
||||
{ }
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace BlackMisc
|
||||
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CAirlineIcaoCodeList)
|
||||
|
||||
//! Default constructor.
|
||||
CAirlineIcaoCodeList() = default;
|
||||
CAirlineIcaoCodeList();
|
||||
|
||||
//! Construct from a base class object.
|
||||
CAirlineIcaoCodeList(const CSequence<CAirlineIcaoCode> &other);
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
CCountryList::CCountryList() {}
|
||||
|
||||
CCountryList::CCountryList(const CSequence<CCountry> &other) :
|
||||
CSequence<CCountry>(other)
|
||||
{ }
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace BlackMisc
|
||||
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CCountryList)
|
||||
|
||||
//! Default constructor.
|
||||
CCountryList() = default;
|
||||
CCountryList();
|
||||
|
||||
//! Construct from a base class object.
|
||||
CCountryList(const CSequence<CCountry> &other);
|
||||
|
||||
@@ -15,6 +15,8 @@ namespace BlackMisc
|
||||
{
|
||||
namespace Db
|
||||
{
|
||||
CDbInfoList::CDbInfoList() { }
|
||||
|
||||
CDbInfoList::CDbInfoList(const CSequence<CDbInfo> &other) :
|
||||
CSequence<CDbInfo>(other)
|
||||
{ }
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace BlackMisc
|
||||
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CDbInfoList)
|
||||
|
||||
//! Default constructor.
|
||||
CDbInfoList() = default;
|
||||
CDbInfoList();
|
||||
|
||||
//! Construct from a base class object.
|
||||
CDbInfoList(const CSequence<CDbInfo> &other);
|
||||
|
||||
Reference in New Issue
Block a user