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/devopt.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/devopt.cpp')
-rw-r--r-- | src/frontend/mame/ui/devopt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/devopt.cpp b/src/frontend/mame/ui/devopt.cpp index 5b3b97a8907..eecb790b81f 100644 --- a/src/frontend/mame/ui/devopt.cpp +++ b/src/frontend/mame/ui/devopt.cpp @@ -266,7 +266,7 @@ void menu_device_config::populate() str << "[None]\n"; const_cast<machine_config &>(machine().config()).device_remove(&machine().config().root_device(), m_option->name()); - item_append(str.str().c_str(), nullptr, FLAG_MULTILINE, nullptr); + item_append(str.str(), "", FLAG_MULTILINE, nullptr); } void menu_device_config::handle() |