InputCommon: cleanup warnings of -Wclass-memaccess

Initialize m_state with the default constructor.
This commit is contained in:
Jun Su
2020-03-23 14:26:36 +08:00
parent 62707986b7
commit 997cfa49fc
2 changed files with 1 additions and 3 deletions

View File

@ -105,7 +105,7 @@ public:
private:
Window m_window;
Display* m_display;
State m_state;
State m_state{};
int xi_opcode;
const int pointer_deviceid, keyboard_deviceid;
std::string name;