statusweather: initialize struct with 0°K and exclamation point.

This commit is contained in:
tastytea 2021-08-23 17:01:56 +02:00
parent 3cad575f7c
commit 0ee6bcb625
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@
struct weather
{
float temperature{0.0};
std::string icon;
} __attribute__((aligned(64))) weather;
float temperature{-273.15};
std::string icon{""};
} __attribute__((aligned(64))) weather; // NOLINT(cert-err58-cpp)
std::mutex mutex_weather;
std::string map_icon(const std::string_view icon_id)