mirror of
				https://github.com/Clortox/dashboard.git
				synced 2025-07-17 14:02:10 +00:00 
			
		
		
		
	Init texture to nullptr in weather.cpp
This commit is contained in:
		
							parent
							
								
									886e766ae6
								
							
						
					
					
						commit
						59284f3655
					
				| @ -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); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tyler Perkins
						Tyler Perkins