InputCommon: Constify Device::Input::IsDetectable function.

This commit is contained in:
Jordan Woyak
2020-02-22 10:27:43 -06:00
parent 2b6a1ee4d8
commit da12f3eebc
9 changed files with 13 additions and 13 deletions

View File

@ -87,14 +87,14 @@ private:
{
public:
using AnalogInput::AnalogInput;
bool IsDetectable() override { return false; }
bool IsDetectable() const override { return false; }
};
class MotionInput final : public AnalogInput<float>
{
public:
using AnalogInput::AnalogInput;
bool IsDetectable() override { return false; }
bool IsDetectable() const override { return false; }
};
using AccelerometerInput = MotionInput;
@ -121,7 +121,7 @@ private:
}
}
bool IsDetectable() override { return false; }
bool IsDetectable() const override { return false; }
private:
const BatteryState& m_battery;