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:
Klaus Basan
2016-05-24 20:31:28 +02:00
parent f92765d515
commit 0aa916f057
8 changed files with 14 additions and 4 deletions

View File

@@ -18,6 +18,9 @@ namespace BlackMisc
{ {
namespace Aviation namespace Aviation
{ {
CAircraftIcaoCodeList::CAircraftIcaoCodeList()
{ }
CAircraftIcaoCodeList::CAircraftIcaoCodeList(const CSequence<CAircraftIcaoCode> &other) : CAircraftIcaoCodeList::CAircraftIcaoCodeList(const CSequence<CAircraftIcaoCode> &other) :
CSequence<CAircraftIcaoCode>(other) CSequence<CAircraftIcaoCode>(other)
{ } { }

View File

@@ -40,7 +40,7 @@ namespace BlackMisc
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CAircraftIcaoCodeList) BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CAircraftIcaoCodeList)
//! Default constructor. //! Default constructor.
CAircraftIcaoCodeList() = default; CAircraftIcaoCodeList();
//! Construct from a base class object. //! Construct from a base class object.
CAircraftIcaoCodeList(const CSequence<CAircraftIcaoCode> &other); CAircraftIcaoCodeList(const CSequence<CAircraftIcaoCode> &other);

View File

@@ -18,6 +18,9 @@ namespace BlackMisc
{ {
namespace Aviation namespace Aviation
{ {
CAirlineIcaoCodeList::CAirlineIcaoCodeList()
{ }
CAirlineIcaoCodeList::CAirlineIcaoCodeList(const CSequence<CAirlineIcaoCode> &other) : CAirlineIcaoCodeList::CAirlineIcaoCodeList(const CSequence<CAirlineIcaoCode> &other) :
CSequence<CAirlineIcaoCode>(other) CSequence<CAirlineIcaoCode>(other)
{ } { }

View File

@@ -41,7 +41,7 @@ namespace BlackMisc
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CAirlineIcaoCodeList) BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CAirlineIcaoCodeList)
//! Default constructor. //! Default constructor.
CAirlineIcaoCodeList() = default; CAirlineIcaoCodeList();
//! Construct from a base class object. //! Construct from a base class object.
CAirlineIcaoCodeList(const CSequence<CAirlineIcaoCode> &other); CAirlineIcaoCodeList(const CSequence<CAirlineIcaoCode> &other);

View File

@@ -16,6 +16,8 @@
namespace BlackMisc namespace BlackMisc
{ {
CCountryList::CCountryList() {}
CCountryList::CCountryList(const CSequence<CCountry> &other) : CCountryList::CCountryList(const CSequence<CCountry> &other) :
CSequence<CCountry>(other) CSequence<CCountry>(other)
{ } { }

View File

@@ -38,7 +38,7 @@ namespace BlackMisc
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CCountryList) BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CCountryList)
//! Default constructor. //! Default constructor.
CCountryList() = default; CCountryList();
//! Construct from a base class object. //! Construct from a base class object.
CCountryList(const CSequence<CCountry> &other); CCountryList(const CSequence<CCountry> &other);

View File

@@ -15,6 +15,8 @@ namespace BlackMisc
{ {
namespace Db namespace Db
{ {
CDbInfoList::CDbInfoList() { }
CDbInfoList::CDbInfoList(const CSequence<CDbInfo> &other) : CDbInfoList::CDbInfoList(const CSequence<CDbInfo> &other) :
CSequence<CDbInfo>(other) CSequence<CDbInfo>(other)
{ } { }

View File

@@ -35,7 +35,7 @@ namespace BlackMisc
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CDbInfoList) BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CDbInfoList)
//! Default constructor. //! Default constructor.
CDbInfoList() = default; CDbInfoList();
//! Construct from a base class object. //! Construct from a base class object.
CDbInfoList(const CSequence<CDbInfo> &other); CDbInfoList(const CSequence<CDbInfo> &other);