diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-18 13:20:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-18 13:20:34 +0300 |
commit | 0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (patch) | |
tree | aebc2d6eae2325c1c077849cc43f8ac07d6a76f6 /src/listeners | |
parent | 4b754c29f7fe0c7531fa6ce68a70a913e7172337 (diff) | |
download | manaverse-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.gz manaverse-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.bz2 manaverse-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.xz manaverse-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.zip |
Add missing override keywords.
Diffstat (limited to 'src/listeners')
-rw-r--r-- | src/listeners/guiconfiglistener.h | 2 | ||||
-rw-r--r-- | src/listeners/playerpostdeathlistener.h | 2 | ||||
-rw-r--r-- | src/listeners/requesttradelistener.h | 2 | ||||
-rw-r--r-- | src/listeners/weightlistener.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/listeners/guiconfiglistener.h b/src/listeners/guiconfiglistener.h index bd23707d7..9d1a4336c 100644 --- a/src/listeners/guiconfiglistener.h +++ b/src/listeners/guiconfiglistener.h @@ -45,7 +45,7 @@ class GuiConfigListener final : public ConfigListener CHECKLISTENERS } - void optionChanged(const std::string &name) + void optionChanged(const std::string &name) override final { if (!mGui) return; diff --git a/src/listeners/playerpostdeathlistener.h b/src/listeners/playerpostdeathlistener.h index af459ea0e..015b8320e 100644 --- a/src/listeners/playerpostdeathlistener.h +++ b/src/listeners/playerpostdeathlistener.h @@ -43,7 +43,7 @@ extern OkDialog *deathNotice; */ struct PlayerPostDeathListener final : public ActionListener { - void action(const ActionEvent &event A_UNUSED) + void action(const ActionEvent &event A_UNUSED) override final { if (playerHandler) playerHandler->respawn(); diff --git a/src/listeners/requesttradelistener.h b/src/listeners/requesttradelistener.h index 662829e3e..b1f5ed620 100644 --- a/src/listeners/requesttradelistener.h +++ b/src/listeners/requesttradelistener.h @@ -44,7 +44,7 @@ extern ConfirmDialog *confirmDlg; */ struct RequestTradeListener final : public ActionListener { - void action(const ActionEvent &event) + void action(const ActionEvent &event) override final { confirmDlg = nullptr; const std::string &eventId = event.getId(); diff --git a/src/listeners/weightlistener.h b/src/listeners/weightlistener.h index f44d063bf..c24591065 100644 --- a/src/listeners/weightlistener.h +++ b/src/listeners/weightlistener.h @@ -36,7 +36,7 @@ extern OkDialog *weightNotice; */ struct WeightListener final : public ActionListener { - void action(const ActionEvent &event A_UNUSED) + void action(const ActionEvent &event A_UNUSED) override final { weightNotice = nullptr; } |