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/skilldialog.cpp | |
parent | c217b7141df580b686a0eef085bd0eb0a8e6771a (diff) | |
download | manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2 manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.zip |
Add final keyword to most classes.
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r-- | src/gui/skilldialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index d25b44941..0c79d0bd6 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -60,7 +60,7 @@ class SkillModel; class SkillEntry; -class SkillModel : public gcn::ListModel +class SkillModel final : public gcn::ListModel { public: int getNumberOfElements() @@ -87,7 +87,7 @@ class SkillModel : public gcn::ListModel SkillList mVisibleSkills; }; -class SkillListBox : public ListBox +class SkillListBox final : public ListBox { public: SkillListBox(SkillModel *const model): @@ -184,7 +184,7 @@ class SkillListBox : public ListBox gcn::Color mTextColor; }; -class SkillTab : public Tab +class SkillTab final : public Tab { public: SkillTab(const std::string &name, SkillListBox *const listBox) : |