From 59284f3655970ca321d1c4b66f51597910b2dc23 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Tue, 21 Dec 2021 17:26:18 -0500 Subject: [PATCH] Init texture to nullptr in weather.cpp --- src/panel/weather.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panel/weather.cpp b/src/panel/weather.cpp index 376ce24..af2d30c 100644 --- a/src/panel/weather.cpp +++ b/src/panel/weather.cpp @@ -17,6 +17,7 @@ weather::weather(){ std::cerr << "WEATHER CONSTRUCTOR\n"; _time_on_screen = WEATHER_DEFAULT_ON_SCREEN_TIME; _update_interval = std::chrono::milliseconds{WEATHER_UPDATE_INTERVAL}; + _texture = nullptr; //let set to default, will make it so it updates the texture ASAP //_last_update; _rss = rss_utils::rss(WEATHER_URL_SOURCE);