summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-05-13 10:15:35 +0200
committerSmallJoker <mk939@ymail.com>2018-06-03 17:32:00 +0200
commite660b05523326bdd1ee4c6d5ae4c4002711e4582 (patch)
tree1652ed8b8481e163b611b1f4f5e1a7f25112be55 /src/client
parent14d20f58275e15fa9e81a82f3db475b0d5c22a2d (diff)
downloadminetest-e660b05523326bdd1ee4c6d5ae4c4002711e4582.tar.gz
minetest-e660b05523326bdd1ee4c6d5ae4c4002711e4582.tar.bz2
minetest-e660b05523326bdd1ee4c6d5ae4c4002711e4582.zip
Fix C++03 compiling due to C++11 initialization issues in backport
Diffstat (limited to 'src/client')
-rw-r--r--src/client/joystick_controller.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/joystick_controller.h b/src/client/joystick_controller.h
index 2c0e7b90a..ea1db684a 100644
--- a/src/client/joystick_controller.h
+++ b/src/client/joystick_controller.h
@@ -60,6 +60,8 @@ struct JoystickButtonCmb : public JoystickCombination {
this->key = key;
}
+ virtual ~JoystickButtonCmb() {}
+
virtual bool isTriggered(const irr::SEvent::SJoystickEvent &ev) const;
u32 filter_mask;