src/gui/widget/menue.h: fix possible compile error with older compliers

avoids possible error with extended initializer lists,
only available with -std=c++11 or -std=gnu++11

supplement to:
'CMenuOptionNumberChooser: expand localize functionality for any number'


Origin commit data
------------------
Commit: dc21b3d5da
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-05 (Thu, 05 Apr 2018)
This commit is contained in:
2018-04-05 05:36:13 +02:00
committed by vanhofen
parent 74862f6ec3
commit adab90ab38

View File

@@ -370,7 +370,13 @@ private:
void setNumberFormat(std::string format) { numberFormat = format; }
void setNumberFormat(std::string (*fun)(int)) { numberFormatFunction = fun; }
void setNumericInput(bool _numeric_input) { numeric_input = _numeric_input; }
void setLocalizedValue(int special_value, neutrino_locale_t special_value_name) { localized.push_back({special_value, special_value_name}); }
void setLocalizedValue(int special_value, neutrino_locale_t special_value_name)
{
localized_value_t loc;
loc.value = special_value;
loc.value_name = special_value_name;
localized.push_back(loc);
}
};
class CMenuOptionChooserOptions