mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 22:00:05 +00:00 
			
		
		
		
	input_common/udp: Add missing override specifiers
Prevents trivial warnings and ensures interfaces are properly maintained between the base class.
This commit is contained in:
		
							parent
							
								
									575ab92a76
								
							
						
					
					
						commit
						7362fe48ac
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -16,7 +16,7 @@ namespace InputCommon::CemuhookUDP { | ||||||
| class UDPTouchDevice final : public Input::TouchDevice { | class UDPTouchDevice final : public Input::TouchDevice { | ||||||
| public: | public: | ||||||
|     explicit UDPTouchDevice(std::shared_ptr<DeviceStatus> status_) : status(std::move(status_)) {} |     explicit UDPTouchDevice(std::shared_ptr<DeviceStatus> status_) : status(std::move(status_)) {} | ||||||
|     std::tuple<float, float, bool> GetStatus() const { |     std::tuple<float, float, bool> GetStatus() const override { | ||||||
|         std::lock_guard guard(status->update_mutex); |         std::lock_guard guard(status->update_mutex); | ||||||
|         return status->touch_status; |         return status->touch_status; | ||||||
|     } |     } | ||||||
|  | @ -28,7 +28,7 @@ private: | ||||||
| class UDPMotionDevice final : public Input::MotionDevice { | class UDPMotionDevice final : public Input::MotionDevice { | ||||||
| public: | public: | ||||||
|     explicit UDPMotionDevice(std::shared_ptr<DeviceStatus> status_) : status(std::move(status_)) {} |     explicit UDPMotionDevice(std::shared_ptr<DeviceStatus> status_) : status(std::move(status_)) {} | ||||||
|     std::tuple<Common::Vec3<float>, Common::Vec3<float>> GetStatus() const { |     std::tuple<Common::Vec3<float>, Common::Vec3<float>> GetStatus() const override { | ||||||
|         std::lock_guard guard(status->update_mutex); |         std::lock_guard guard(status->update_mutex); | ||||||
|         return status->motion_status; |         return status->motion_status; | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue