diff --git a/src/fcheckmenuitem.cpp b/src/fcheckmenuitem.cpp index 53c608c7..0fa0c23c 100644 --- a/src/fcheckmenuitem.cpp +++ b/src/fcheckmenuitem.cpp @@ -62,7 +62,7 @@ void FCheckMenuItem::init (FWidget* parent) if ( isMenu(parent) ) // Parent is menu { - auto menu_ptr{static_cast(parent)}; + auto menu_ptr = static_cast(parent); menu_ptr->has_checkable_items = true; } }