diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:15:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:15:03 +0300 |
commit | 67a349cefcb72c7770b98bf645a7eca35695bb2b (patch) | |
tree | 07dbd166893ef783e56e361ed5be7559fef7a2a4 /src/gui/widgets/skillmodel.h | |
parent | 7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff) | |
download | manaverse-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz manaverse-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2 manaverse-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz manaverse-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip |
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/skillmodel.h')
-rw-r--r-- | src/gui/widgets/skillmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/skillmodel.h b/src/gui/widgets/skillmodel.h index 89f36b72f..733407eaa 100644 --- a/src/gui/widgets/skillmodel.h +++ b/src/gui/widgets/skillmodel.h @@ -37,9 +37,9 @@ class SkillModel final : public gcn::ListModel SkillInfo *getSkillAt(const int i) const; - std::string getElementAt(int i) override; + std::string getElementAt(int i) override final; - int getNumberOfElements() override + int getNumberOfElements() override final { return static_cast<int>(mVisibleSkills.size()); } void addSkill(SkillInfo *const info) |