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

This commit is contained in:
Jordan Woyak committed 2020-02-22 10:27:43 -06:00
1 parent 2b6a1ee4d8
commit da12f3eebc
9 files changed
+13 -13

No files matched your search

@@ -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;