diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
commit | 3dcf21babe03cee5080a25e787e1d7e72124288e (patch) | |
tree | 7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/gui/statuswindow.cpp | |
parent | c217b7141df580b686a0eef085bd0eb0a8e6771a (diff) | |
download | mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2 mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz mv-3dcf21babe03cee5080a25e787e1d7e72124288e.zip |
Add final keyword to most classes.
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r-- | src/gui/statuswindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index 295adcd6e..10a30f1b9 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -87,7 +87,7 @@ class AttrDisplay : public Container Label *mValue; }; -class DerDisplay : public AttrDisplay +class DerDisplay final : public AttrDisplay { public: DerDisplay(const int id, const std::string &name); @@ -96,7 +96,7 @@ class DerDisplay : public AttrDisplay { return DERIVED; } }; -class ChangeDisplay : public AttrDisplay, gcn::ActionListener +class ChangeDisplay final : public AttrDisplay, gcn::ActionListener { public: ChangeDisplay(const int id, const std::string &name); |