summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:17 +0300
commitd6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (patch)
treea2cec0346050bd47660b33654ec05bd85141af3d /src/gui/userpalette.h
parent10be802d2640bad75222736216cdcfcd7fb6a521 (diff)
downloadplus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.gz
plus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.bz2
plus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.xz
plus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.zip
add final keyword to gui files.
Diffstat (limited to 'src/gui/userpalette.h')
-rw-r--r--src/gui/userpalette.h4
1 files changed, 2 insertions, 2 deletions
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<int>(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