Description
In widgets/roller.cpp, the set_selected method creates an overloading ambiguity in LVGL 9.5:
return set_property(LV_PROPERTY_ROLLER_SELECTED,
static_cast<int32_t>(sel_opt),
anim == AnimEnable::On ? 1 : 0);
The third argument (1 or 0) is ambiguous between int32_t and bool overloads for set_property.
Proposed Fix
Change the third argument to an explicit bool:
return set_property(LV_PROPERTY_ROLLER_SELECTED,
static_cast<int32_t>(sel_opt),
anim == AnimEnable::On);
Description
In
widgets/roller.cpp, theset_selectedmethod creates an overloading ambiguity in LVGL 9.5:The third argument (
1or0) is ambiguous betweenint32_tandbooloverloads forset_property.Proposed Fix
Change the third argument to an explicit bool: