Init texture to nullptr in weather.cpp

This commit is contained in:
Tyler Perkins 2021-12-21 17:26:18 -05:00
parent 886e766ae6
commit 59284f3655
1 changed files with 1 additions and 0 deletions

View File

@ -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);