mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
ControllerInterface/Device: Make DetectInput() a const member function
This doesn't actually modify object instance state, so it can be made const.
This commit is contained in:
@ -188,7 +188,7 @@ public:
|
||||
bool HasConnectedDevice(const DeviceQualifier& qualifier) const;
|
||||
|
||||
std::pair<std::shared_ptr<Device>, Device::Input*>
|
||||
DetectInput(u32 wait_ms, const std::vector<std::string>& device_strings);
|
||||
DetectInput(u32 wait_ms, const std::vector<std::string>& device_strings) const;
|
||||
|
||||
protected:
|
||||
mutable std::mutex m_devices_mutex;
|
||||
|
Reference in New Issue
Block a user