[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:
Adriaan de Groot 2020-10-31 23:48:20 +01:00
parent 4d444cbfbb
commit c41ff94f8a

View File

@ -24,9 +24,6 @@ static_assert( TimeZoneImageList::zoneCount == ( sizeof( zoneNames ) / sizeof( z
#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" );
TimeZoneImageList::TimeZoneImageList() {}