diff options
author | 2016-06-29 20:50:36 -0400 | |
---|---|---|
committer | 2016-06-29 20:50:36 -0400 | |
commit | a2b07a8969c6b47bf71f0ff13db058327634919e (patch) | |
tree | ffe4e86a38dec8d4c3ddfda23e12aa9aea73691c /src/frontend/mame/ui/selsoft.cpp | |
parent | 78576d09c66b7bfb6d3e6d41c38fc9c059e6cb6b (diff) |
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
Diffstat (limited to 'src/frontend/mame/ui/selsoft.cpp')
-rw-r--r-- | src/frontend/mame/ui/selsoft.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/selsoft.cpp b/src/frontend/mame/ui/selsoft.cpp index d88d7bfc904..3426166af02 100644 --- a/src/frontend/mame/ui/selsoft.cpp +++ b/src/frontend/mame/ui/selsoft.cpp @@ -432,7 +432,7 @@ void menu_select_software::populate() { // if the device can be loaded empty, add an item if (m_has_empty_start) - item_append("[Start empty]", nullptr, flags_ui, (void *)&m_swinfo[0]); + item_append("[Start empty]", "", flags_ui, (void *)&m_swinfo[0]); m_displaylist.clear(); m_tmp.clear(); @@ -2036,7 +2036,7 @@ bios_selection::~bios_selection() void bios_selection::populate() { for (auto & elem : m_bios) - item_append(elem.first.c_str(), nullptr, 0, (void *)&elem.first); + item_append(elem.first, "", 0, (void *)&elem.first); item_append(menu_item_type::SEPARATOR); customtop = ui().get_line_height() + (3.0f * UI_BOX_TB_BORDER); |