]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/systemkeyboardinput.cpp
Simplify constructors with C++11
[libs/gltk.git] / source / systemkeyboardinput.cpp
index 862dd2926d88a5b0538cfdb5fb1d41201ec4b3e9..3c4439856944f71becb1414a05c7541ef44f1995 100644 (file)
@@ -7,8 +7,7 @@ namespace GLtk {
 
 SystemKeyboardInput::SystemKeyboardInput(Root &r, Input::Keyboard &k):
        InputMethod(r),
-       keyboard(k),
-       modifier_state(0)
+       keyboard(k)
 {
        keyboard.signal_button_press.connect(sigc::mem_fun(this, &SystemKeyboardInput::key_press));
        keyboard.signal_button_release.connect(sigc::mem_fun(this, &SystemKeyboardInput::key_release));