From a45253c43eca5e7eaccb3f0507daf09c1b6c2693 Mon Sep 17 00:00:00 2001 From: David Capello Date: Sat, 19 May 2012 18:38:12 -0300 Subject: [PATCH] Add OVERRIDE modifier in ColorSliders subclasses. --- src/widgets/color_sliders.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/widgets/color_sliders.h b/src/widgets/color_sliders.h index b01694bd2..d6d56b4ad 100644 --- a/src/widgets/color_sliders.h +++ b/src/widgets/color_sliders.h @@ -20,6 +20,7 @@ #define WIDGETS_COLOR_SLIDERS_H_INCLUDED #include "app/color.h" +#include "base/compiler_specific.h" #include "base/signal.h" #include "gui/event.h" #include "gui/grid.h" @@ -87,8 +88,8 @@ public: RgbSliders(); private: - virtual void onSetColor(const Color& color); - virtual Color getColorFromSliders(); + virtual void onSetColor(const Color& color) OVERRIDE; + virtual Color getColorFromSliders() OVERRIDE; }; class HsvSliders : public ColorSliders @@ -97,8 +98,8 @@ public: HsvSliders(); private: - virtual void onSetColor(const Color& color); - virtual Color getColorFromSliders(); + virtual void onSetColor(const Color& color) OVERRIDE; + virtual Color getColorFromSliders() OVERRIDE; }; class GraySlider : public ColorSliders @@ -107,8 +108,8 @@ public: GraySlider(); private: - virtual void onSetColor(const Color& color); - virtual Color getColorFromSliders(); + virtual void onSetColor(const Color& color) OVERRIDE; + virtual Color getColorFromSliders() OVERRIDE; }; //////////////////////////////////////////////////////////////////////