evdev: fix -Wunused-private-field warning

This commit is contained in:
Tillmann Karras 2015-07-04 14:14:15 +02:00
parent d2578000bb
commit 64b51df55d
1 changed files with 1 additions and 2 deletions

View File

@ -51,11 +51,10 @@ private:
{
public:
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;
private:
const u16 m_type;
libevdev* m_dev;
int m_fd;
int m_id;
};