mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-03 07:35:53 +08:00
refs #472 Removed static_cast<int> for enums in blackmisc, no longer needed.
This commit is contained in:
@@ -88,6 +88,9 @@ namespace BlackMisc
|
||||
IndexWeatherPhenomena
|
||||
};
|
||||
|
||||
//! \copydoc BlackMisc::CValueObject::registerMetadata
|
||||
static void registerMetadata();
|
||||
|
||||
//! Default constructor.
|
||||
CPresentWeather() = default;
|
||||
|
||||
@@ -132,6 +135,8 @@ namespace BlackMisc
|
||||
} // namespace
|
||||
|
||||
Q_DECLARE_METATYPE(BlackMisc::Weather::CPresentWeather)
|
||||
Q_DECLARE_METATYPE(BlackMisc::Weather::CPresentWeather::Intensity)
|
||||
Q_DECLARE_METATYPE(BlackMisc::Weather::CPresentWeather::Descriptor)
|
||||
BLACK_DECLARE_TUPLE_CONVERSION(BlackMisc::Weather::CPresentWeather, (
|
||||
attr(o.m_intensity),
|
||||
attr(o.m_descriptor),
|
||||
|
||||
Reference in New Issue
Block a user