mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 20:40:29 +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
|
namespace Aviation
|
||||||
{
|
{
|
||||||
|
CAircraftIcaoCodeList::CAircraftIcaoCodeList()
|
||||||
|
{ }
|
||||||
|
|
||||||
CAircraftIcaoCodeList::CAircraftIcaoCodeList(const CSequence<CAircraftIcaoCode> &other) :
|
CAircraftIcaoCodeList::CAircraftIcaoCodeList(const CSequence<CAircraftIcaoCode> &other) :
|
||||||
CSequence<CAircraftIcaoCode>(other)
|
CSequence<CAircraftIcaoCode>(other)
|
||||||
{ }
|
{ }
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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)
|
||||||
{ }
|
{ }
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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)
|
||||||
{ }
|
{ }
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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)
|
||||||
{ }
|
{ }
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user