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/server_info.h | |
parent | 6d87ebbc435fd872fb099d7d08f116abcd98ac0a (diff) |
make use of override keyword if available
Diffstat (limited to 'src/server_info.h')
-rw-r--r-- | src/server_info.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/server_info.h b/src/server_info.h index b58f706f..d66ac9b7 100644 --- a/src/server_info.h +++ b/src/server_info.h @@ -26,21 +26,23 @@ class ServerInfo : public Screen<NC::Scrollpad> { public: - virtual void SwitchTo(); - virtual void Resize(); + // Screen<NC::Scrollpad> implementation + virtual void SwitchTo() OVERRIDE; + virtual void Resize() OVERRIDE; - virtual std::basic_string<my_char_t> Title(); + virtual std::basic_string<my_char_t> Title() OVERRIDE; - virtual void Update(); + virtual void Update() OVERRIDE; - virtual void EnterPressed() { } - virtual void SpacePressed() { } + virtual void EnterPressed() OVERRIDE { } + virtual void SpacePressed() OVERRIDE { } - virtual bool isMergable() { return false; } + virtual bool isMergable() OVERRIDE { return false; } + virtual bool isTabbable() OVERRIDE { return false; } protected: - virtual void Init(); - virtual bool isLockable() { return false; } + virtual void Init() OVERRIDE; + virtual bool isLockable() OVERRIDE { return false; } private: void SetDimensions(); |