Add OVERRIDE modifier in ColorSliders subclasses.

This commit is contained in:
David Capello 2012-05-19 18:38:12 -03:00
parent 468d9965b9
commit a45253c43e

View File

@ -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;
};
//////////////////////////////////////////////////////////////////////