More use of direct initializations
This commit is contained in:
parent
37ed970319
commit
9a40890026
|
@ -62,7 +62,7 @@ void FCheckMenuItem::init (FWidget* parent)
|
||||||
|
|
||||||
if ( isMenu(parent) ) // Parent is menu
|
if ( isMenu(parent) ) // Parent is menu
|
||||||
{
|
{
|
||||||
auto menu_ptr{static_cast<FMenu*>(parent)};
|
auto menu_ptr = static_cast<FMenu*>(parent);
|
||||||
menu_ptr->has_checkable_items = true;
|
menu_ptr->has_checkable_items = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue