diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-04 19:19:37 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-04 20:08:43 +0200 |
commit | f6fb2ed54cb2e7fc8206e8b9422db474d717c51b (patch) | |
tree | 24cf5abc6c34db5f71facb447184b86ab97063c2 /src/help.h | |
parent | 6d87ebbc435fd872fb099d7d08f116abcd98ac0a (diff) |
make use of override keyword if available
Diffstat (limited to 'src/help.h')
-rw-r--r-- | src/help.h | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -27,20 +27,22 @@ class Help : public Screen<NC::Scrollpad> { public: - virtual void Resize(); - virtual void SwitchTo(); + virtual void Resize() OVERRIDE; + virtual void SwitchTo() OVERRIDE; - virtual std::basic_string<my_char_t> Title(); + virtual std::basic_string<my_char_t> Title() OVERRIDE; - virtual void EnterPressed() { } - virtual void SpacePressed() { } - virtual bool isTabbable() { return true; } + virtual void Update() OVERRIDE { } - virtual bool isMergable() { return true; } + virtual void EnterPressed() OVERRIDE { } + virtual void SpacePressed() OVERRIDE { } + + virtual bool isTabbable() OVERRIDE { return true; } + virtual bool isMergable() OVERRIDE { return true; } protected: - virtual void Init(); - virtual bool isLockable() { return true; } + virtual void Init() OVERRIDE; + virtual bool isLockable() OVERRIDE { return true; } private: void KeysSection(const char *title) { Section("Keys", title); } |