diff --git a/src/blackmisc/weather/cloudlayerlist.h b/src/blackmisc/weather/cloudlayerlist.h index 344eab286..5f0621491 100644 --- a/src/blackmisc/weather/cloudlayerlist.h +++ b/src/blackmisc/weather/cloudlayerlist.h @@ -33,6 +33,9 @@ namespace BlackMisc //! Default constructor. CCloudLayerList() = default; + //! Initializer list constructor. + CCloudLayerList(std::initializer_list il) : CSequence(il) {} + //! Construct from a base class object. CCloudLayerList(const CSequence &other); diff --git a/src/blackmisc/weather/temperaturelayerlist.h b/src/blackmisc/weather/temperaturelayerlist.h index 9a91cc163..bdaf5860a 100644 --- a/src/blackmisc/weather/temperaturelayerlist.h +++ b/src/blackmisc/weather/temperaturelayerlist.h @@ -33,6 +33,9 @@ namespace BlackMisc //! Default constructor. CTemperatureLayerList() = default; + //! Initializer list constructor. + CTemperatureLayerList(std::initializer_list il) : CSequence(il) {} + //! Construct from a base class object. CTemperatureLayerList(const CSequence &other); diff --git a/src/blackmisc/weather/weathergrid.h b/src/blackmisc/weather/weathergrid.h index 9f1bd2904..4a533d938 100644 --- a/src/blackmisc/weather/weathergrid.h +++ b/src/blackmisc/weather/weathergrid.h @@ -33,6 +33,9 @@ namespace BlackMisc //! Default constructor. CWeatherGrid() = default; + //! Initializer list constructor. + CWeatherGrid(std::initializer_list il) : CSequence(il) {} + //! Construct from a base class object. CWeatherGrid(const CSequence &other); }; diff --git a/src/blackmisc/weather/windlayerlist.h b/src/blackmisc/weather/windlayerlist.h index 90566ae2c..f1e7c2fab 100644 --- a/src/blackmisc/weather/windlayerlist.h +++ b/src/blackmisc/weather/windlayerlist.h @@ -33,6 +33,9 @@ namespace BlackMisc //! Default constructor. CWindLayerList() = default; + //! Initializer list constructor. + CWindLayerList(std::initializer_list il) : CSequence(il) {} + //! Construct from a base class object. CWindLayerList(const CSequence &other);