mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	input_common/sdl_impl: Make lambda capture more specific in SDLState constructor
We don't need to universally capture by reference. We specifically just need to capture the this pointer.
This commit is contained in:
		
							parent
							
								
									ed31197402
								
							
						
					
					
						commit
						bf4b0dd1f4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -475,7 +475,7 @@ SDLState::SDLState() { | |||
| 
 | ||||
|     initialized = true; | ||||
|     if (start_thread) { | ||||
|         poll_thread = std::thread([&] { | ||||
|         poll_thread = std::thread([this] { | ||||
|             using namespace std::chrono_literals; | ||||
|             while (initialized) { | ||||
|                 SDL_PumpEvents(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue