Fix some gcc 7.3 reported warnings
authorLoic Blot <loic.blot@unix-experience.fr>
Fri, 23 Mar 2018 21:12:42 +0000 (22:12 +0100)
committerLoic Blot <loic.blot@unix-experience.fr>
Fri, 23 Mar 2018 21:12:48 +0000 (22:12 +0100)
commiteab652fd52b7b806b9414a26a0bf5348df4282f6
tree38395781f2e1dffd100ac971843b52556fa0ee94
parent9293d8e2715f3e883fee4c0ed617636a785f20d1
Fix some gcc 7.3 reported warnings

```
src/client/joystick_controller.h:85:2: warning: duplicate 'virtual' declaration specifier [-Wduplicate-decl-specifier]
        virtual bool isTriggered(const irr::SEvent::SJoystickEvent &ev) const;
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/ext/new_allocator.h:140:22: warning: destructor called on non-final 'JoystickAxisCmb' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
                destroy(_Up* __p) { __p->~_Up(); }
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/ext/new_allocator.h:140:22: warning: destructor called on non-final 'JoystickButtonCmb' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
        destroy(_Up* __p) { __p->~_Up(); }
```
src/client/joystick_controller.h