From 0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Feb 2015 13:20:34 +0300 Subject: Add missing override keywords. --- src/gui/models/colorlistmodel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/models/colorlistmodel.h') diff --git a/src/gui/models/colorlistmodel.h b/src/gui/models/colorlistmodel.h index 05f935c69..b50d5879d 100644 --- a/src/gui/models/colorlistmodel.h +++ b/src/gui/models/colorlistmodel.h @@ -65,12 +65,12 @@ class ColorListModel final : public ListModel ~ColorListModel() { } - int getNumberOfElements() + int getNumberOfElements() override final { return 14; } - std::string getElementAt(int i) + std::string getElementAt(int i) override final { if (i >= getNumberOfElements() || i < 0) return "???"; -- cgit v1.2.3-60-g2f50