Warnings removed
This commit is contained in:
@@ -30,7 +30,7 @@ class ModelBitmapWidget: public Widget
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~ModelBitmapWidget()
|
||||
~ModelBitmapWidget() override
|
||||
{
|
||||
delete buffer;
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ const ZoneOption OutputsWidget::options[] = {
|
||||
{ STR_FIRST_CHANNEL, ZoneOption::Integer, OPTION_VALUE_UNSIGNED(1), OPTION_VALUE_UNSIGNED(1), OPTION_VALUE_UNSIGNED(32) },
|
||||
{ STR_FILL_BACKGROUND, ZoneOption::Bool, OPTION_VALUE_BOOL(false) },
|
||||
{ STR_BG_COLOR, ZoneOption::Color, OPTION_VALUE_UNSIGNED(LIGHTGREY) },
|
||||
{ NULL, ZoneOption::Bool }
|
||||
{ nullptr, ZoneOption::Bool }
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ class WidgetsContainer: public WidgetsContainerInterface
|
||||
}
|
||||
}
|
||||
|
||||
virtual void createWidget(unsigned int index, const WidgetFactory * factory)
|
||||
void createWidget(unsigned int index, const WidgetFactory * factory) override
|
||||
{
|
||||
if (widgets) {
|
||||
memset(persistentData->zones[index].widgetName, 0, sizeof(persistentData->zones[index].widgetName));
|
||||
@@ -123,9 +123,9 @@ class WidgetsContainer: public WidgetsContainerInterface
|
||||
return &persistentData->options[index];
|
||||
}
|
||||
|
||||
virtual unsigned int getZonesCount() const = 0;
|
||||
unsigned int getZonesCount() const override = 0;
|
||||
|
||||
virtual Zone getZone(unsigned int index) const = 0;
|
||||
Zone getZone(unsigned int index) const override = 0;
|
||||
|
||||
virtual void refresh()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user