From a2b07a8969c6b47bf71f0ff13db058327634919e Mon Sep 17 00:00:00 2001 From: Nathan Woods Date: Wed, 29 Jun 2016 20:50:36 -0400 Subject: Added a move constructor and got rid of the 'const char *' overload. I had to update a ton of call sites that relied on being able to pass nullptr. It is inevitable that there are more --- src/frontend/mame/ui/submenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend/mame/ui/submenu.cpp') diff --git a/src/frontend/mame/ui/submenu.cpp b/src/frontend/mame/ui/submenu.cpp index 4721ed87b1c..75c62177a33 100644 --- a/src/frontend/mame/ui/submenu.cpp +++ b/src/frontend/mame/ui/submenu.cpp @@ -314,13 +314,13 @@ void submenu::populate() switch (sm_option->type) { case option_type::HEAD: - item_append(_(sm_option->description), nullptr, FLAG_DISABLE | FLAG_UI_HEADING, nullptr); + item_append(_(sm_option->description), "", FLAG_DISABLE | FLAG_UI_HEADING, nullptr); break; case option_type::SEP: item_append(menu_item_type::SEPARATOR); break; case option_type::CMD: - item_append(_(sm_option->description), nullptr, 0, static_cast(&(*sm_option))); + item_append(_(sm_option->description), "", 0, static_cast(&(*sm_option))); break; case option_type::EMU: case option_type::UI: -- cgit v1.2.3-70-g09d2