mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	input_common/sdl: Silence a -Wpessimizing-move warning
Moving when returning by value can inhibit copy elision.
This commit is contained in:
		
							parent
							
								
									9699194b54
								
							
						
					
					
						commit
						1f186be030
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -425,7 +425,7 @@ std::vector<std::unique_ptr<InputCommon::Polling::DevicePoller>> GetPollers( | ||||||
|         pollers.push_back(std::make_unique<SDLButtonPoller>()); |         pollers.push_back(std::make_unique<SDLButtonPoller>()); | ||||||
|         break; |         break; | ||||||
|     } |     } | ||||||
|     return std::move(pollers); |     return pollers; | ||||||
| } | } | ||||||
| } // namespace Polling
 | } // namespace Polling
 | ||||||
| } // namespace SDL
 | } // namespace SDL
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue