evdev: fix -Wunused-private-field warning
This commit is contained in:
parent
d2578000bb
commit
64b51df55d
|
@ -51,11 +51,10 @@ private:
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
std::string GetName() const override;
|
std::string GetName() const override;
|
||||||
ForceFeedback(u16 type, libevdev* dev) : m_type(type), m_dev(dev), m_id(-1) { m_fd = libevdev_get_fd(dev); }
|
ForceFeedback(u16 type, libevdev* dev) : m_type(type), m_id(-1) { m_fd = libevdev_get_fd(dev); }
|
||||||
void SetState(ControlState state) override;
|
void SetState(ControlState state) override;
|
||||||
private:
|
private:
|
||||||
const u16 m_type;
|
const u16 m_type;
|
||||||
libevdev* m_dev;
|
|
||||||
int m_fd;
|
int m_fd;
|
||||||
int m_id;
|
int m_id;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue