summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.h
diff options
context:
space:
mode:
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 f14c2c10c..2fb9c8904 100644
--- a/src/gui/userpalette.h
+++ b/src/gui/userpalette.h
@@ -150,7 +150,7 @@ class UserPalette final : public Palette, public gcn::ListModel
*
* @return the number of colors known
*/
- inline int getNumberOfElements()
+ inline int getNumberOfElements() override
{ return static_cast<int>(mColors.size()); }
/**
@@ -160,7 +160,7 @@ class UserPalette final : public Palette, public gcn::ListModel
*
* @return the name of the color
*/
- std::string getElementAt(int i);
+ std::string getElementAt(int i) override;
/**
* Commit the colors