Removed const modifer to Widget::update in the 480x272 GUI. (#4397)

I was getting const errors with a recent gcc. So I removed the const modifer
to Widget::update in the 480x272 GUI. This caused menu_settings.cpp
menuSettings() to complain, because it was being passed a param called
'object' of type pointer to a const T, and then called object->update(),
which is not a const function.

However, the one call site I found to menuSettings() (menu_settings.cpp:224)
is passing currentWidget, which is of type Widget*.
This commit is contained in:
Kelly Byrd
2017-02-04 21:28:04 +01:00
committed by Bertrand Songis
parent 38934767c8
commit 3bd37bf4e0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ class Widget
{
}
virtual void update() const
virtual void update()
{
}