From 9a40890026bf10ec185271d84ffb1f0bb350c4e1 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sun, 25 Aug 2019 22:21:01 +0200 Subject: [PATCH] More use of direct initializations --- src/fcheckmenuitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }