From d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:17:17 +0300 Subject: add final keyword to gui files. --- src/gui/userpalette.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/userpalette.h') diff --git a/src/gui/userpalette.h b/src/gui/userpalette.h index bb3a151ef..32cc9d963 100644 --- a/src/gui/userpalette.h +++ b/src/gui/userpalette.h @@ -155,7 +155,7 @@ class UserPalette final : public Palette, public gcn::ListModel * * @return the number of colors known */ - inline int getNumberOfElements() override A_WARN_UNUSED + inline int getNumberOfElements() override final A_WARN_UNUSED { return static_cast(mColors.size()); } /** @@ -165,7 +165,7 @@ class UserPalette final : public Palette, public gcn::ListModel * * @return the name of the color */ - std::string getElementAt(int i) override A_WARN_UNUSED; + std::string getElementAt(int i) override final A_WARN_UNUSED; /** * Commit the colors -- cgit v1.2.3-70-g09d2