[locale] Reduce warnings (C++17)
Now that Calamares is compiled as C++17, we get this: src/modules/locale/timezonewidget/TimeZoneImage.cpp:28:55: warning: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated [-Wdeprecated] /* static constexpr */ const QSize TimeZoneImageList::imageSize;
This commit is contained in:
parent
4d444cbfbb
commit
c41ff94f8a
@ -24,9 +24,6 @@ static_assert( TimeZoneImageList::zoneCount == ( sizeof( zoneNames ) / sizeof( z
|
|||||||
|
|
||||||
#define ZONE_NAME QStringLiteral( "zone" )
|
#define ZONE_NAME QStringLiteral( "zone" )
|
||||||
|
|
||||||
/* static constexpr */ const int TimeZoneImageList::zoneCount;
|
|
||||||
/* static constexpr */ const QSize TimeZoneImageList::imageSize;
|
|
||||||
|
|
||||||
static_assert( TimeZoneImageList::zoneCount == 37, "Incorrect number of zones" );
|
static_assert( TimeZoneImageList::zoneCount == 37, "Incorrect number of zones" );
|
||||||
|
|
||||||
TimeZoneImageList::TimeZoneImageList() {}
|
TimeZoneImageList::TimeZoneImageList() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user