]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/windows/gamecontroller.cpp
Use default member initializers and defaulted default constructors
[libs/gui.git] / source / input / windows / gamecontroller.cpp
index 9c6853a41bd15095cbc23d69ba651ce26459f6ec..df29666cc73904d9dd83d437e50d58d94a6aa97d 100644 (file)
@@ -101,13 +101,6 @@ void GameController::tick(const Time::TimeDelta &)
 }
 
 
-GameController::Private::Private():
-       index(0),
-       last_packet_number(0),
-       event_pipe(0),
-       timer_slot(0)
-{ }
-
 bool GameController::Private::generate_event()
 {
        event_pipe->put(1);
@@ -144,8 +137,7 @@ void GameController::Private::update_state(GameController &ctrl, const XINPUT_ST
 GameControllerTimerThread *GameControllerTimerThread::thread = 0;
 
 GameControllerTimerThread::GameControllerTimerThread():
-       Thread("GameController"),
-       n_users(0)
+       Thread("GameController")
 {
        launch();
 }