]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/systemkeyboardinput.h
Simplify constructors with C++11
[libs/gltk.git] / source / systemkeyboardinput.h
index 999c7ce7363439f8465d1669cf0c176125ff3fa7..9e4b3625701f824a19285c945fc0b7463389d99f 100644 (file)
@@ -12,7 +12,7 @@ class MSPGLTK_API SystemKeyboardInput: public InputMethod, public sigc::trackabl
 {
 private:
        Input::Keyboard &keyboard;
-       unsigned modifier_state;
+       unsigned modifier_state = 0;
 
 public:
        SystemKeyboardInput(Root &, Input::Keyboard &);