More use of direct initializations

This commit is contained in:
Markus Gans 2019-08-25 22:21:01 +02:00
parent 37ed970319
commit 9a40890026
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ void FCheckMenuItem::init (FWidget* parent)
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;
}
}