From 67a349cefcb72c7770b98bf645a7eca35695bb2b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:15:03 +0300 Subject: add final keyword to widgets files. --- src/gui/widgets/skillmodel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/skillmodel.h') 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(mVisibleSkills.size()); } void addSkill(SkillInfo *const info) -- cgit v1.2.3-70-g09d2