summaryrefslogtreecommitdiff
path: root/src/joystick.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 17:55:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commitffeffa2314dbe03e0ced58e0c465760b54908690 (patch)
tree3da4d65e43a4b55aed7c01ec612c9dec50d1bd1c /src/joystick.h
parentae550d179c25e149f7e8a8d70011b364fb0d85d6 (diff)
downloadmv-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.gz
mv-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.bz2
mv-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.xz
mv-ffeffa2314dbe03e0ced58e0c465760b54908690.zip
fix cide style.
Add explicit keyword to some constructors.
Diffstat (limited to 'src/joystick.h')
-rw-r--r--src/joystick.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/joystick.h b/src/joystick.h
index 16dc2aa72..128a41a35 100644
--- a/src/joystick.h
+++ b/src/joystick.h
@@ -67,7 +67,7 @@ class Joystick final
* Constructor, pass the number of the joystick the new object
* should access.
*/
- Joystick(const int no);
+ explicit Joystick(const int no);
A_DELETE_COPY(Joystick)