From 4a5cdfe19cbb50e3b58149c6e91312366ee4b771 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 02:34:48 +0300 Subject: Add override keyword to most overriden methods. --- src/gui/charcreatedialog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/charcreatedialog.h') diff --git a/src/gui/charcreatedialog.h b/src/gui/charcreatedialog.h index 6e087d9a7..beedd7a5e 100644 --- a/src/gui/charcreatedialog.h +++ b/src/gui/charcreatedialog.h @@ -61,7 +61,7 @@ class CharCreateDialog final : public Window, */ ~CharCreateDialog(); - void action(const gcn::ActionEvent &event); + void action(const gcn::ActionEvent &event) override; /** * Unlocks the dialog, enabling the create character button again. @@ -75,11 +75,11 @@ class CharCreateDialog final : public Window, void setFixedGender(const bool fixed, const Gender gender = GENDER_FEMALE); - void logic(); + void logic() override; void updatePlayer(); - void keyPressed(gcn::KeyEvent &keyEvent); + void keyPressed(gcn::KeyEvent &keyEvent) override; private: int getDistributedPoints() const; -- cgit v1.2.3-70-g09d2