mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-30 15:39:02 -05:00 
			
		
		
		
	gc_poller: Resolve -Wredundant-move warning
This commit is contained in:
		| @@ -76,8 +76,7 @@ std::unique_ptr<Input::ButtonDevice> GCButtonFactory::Create(const Common::Param | ||||
|  | ||||
|     // button is not an axis/stick button | ||||
|     if (button_id != PAD_STICK_ID) { | ||||
|         auto button = std::make_unique<GCButton>(port, button_id, adapter.get()); | ||||
|         return std::move(button); | ||||
|         return std::make_unique<GCButton>(port, button_id, adapter.get()); | ||||
|     } | ||||
|  | ||||
|     // For Axis buttons, used by the binary sticks. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lioncash
					Lioncash