summaryrefslogtreecommitdiff
path: root/src/joystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/joystick.cpp')
-rw-r--r--src/joystick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/joystick.cpp b/src/joystick.cpp
index 81b61b85d..d60c7e182 100644
--- a/src/joystick.cpp
+++ b/src/joystick.cpp
@@ -51,7 +51,7 @@ void Joystick::init()
}
}
-Joystick::Joystick(int no):
+Joystick::Joystick(const int no):
mDirection(0),
mJoystick(nullptr),
mUpTolerance(0),