]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/linux/gamecontroller.cpp
Use default member initializers and defaulted default constructors
[libs/gui.git] / source / input / linux / gamecontroller.cpp
index c6b17c8541bc3c22703cb7b808b7099480cbed50..06008bcf90b0adcd2abd89d6e05eac457b049992 100644 (file)
@@ -16,8 +16,7 @@ namespace Input {
 vector<string> GameController::Private::detected_controllers;
 
 GameController::GameController(unsigned index):
-       Device(GAME_CONTROLLER),
-       event_disp(0)
+       Device(GAME_CONTROLLER)
 {
        if(!detect_done)
                detect();