Fixes for minor clang warnings.

This commit is contained in:
Stephen Anthony 2023-08-02 12:52:12 -02:30
parent f7e46338b8
commit 480f7ab9f0
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ class ContextMenu : public Dialog, public CommandSender
void handleJoyUp(int stick, int button) override;
void handleJoyAxis(int stick, JoyAxis axis, JoyDir adir, int button) override;
bool handleJoyHat(int stick, int hat, JoyHatDir hdir, int button) override;
void handleEvent(Event::Type e);
void handleEvent(Event::Type e) override;
void setArrows();
void drawDialog() override;

View File

@ -168,7 +168,7 @@ class Dialog : public GuiObject
virtual void handleJoyUp(int stick, int button);
virtual void handleJoyAxis(int stick, JoyAxis axis, JoyDir adir, int button = JOY_CTRL_NONE);
virtual bool handleJoyHat(int stick, int hat, JoyHatDir hdir, int button = JOY_CTRL_NONE);
virtual void handleEvent(Event::Type event) {};
virtual void handleEvent(Event::Type event) {}
void handleCommand(CommandSender* sender, int cmd, int data, int id) override;
virtual Event::Type getJoyAxisEvent(int stick, JoyAxis axis, JoyDir adir, int button);