mirror of
https://github.com/holub/mame
synced 2025-06-30 07:58:56 +03:00
Corrected a n00b C++ move error
This commit is contained in:
parent
a2b07a8969
commit
f0d35cd91a
@ -331,7 +331,7 @@ void menu::item_append(menu_item_type type)
|
|||||||
|
|
||||||
void menu::item_append(const std::string &text, const std::string &subtext, UINT32 flags, void *ref, menu_item_type type)
|
void menu::item_append(const std::string &text, const std::string &subtext, UINT32 flags, void *ref, menu_item_type type)
|
||||||
{
|
{
|
||||||
item_append((std::string&&)text, (std::string&&)subtext, flags, ref, type);
|
item_append(std::string(text), std::string(subtext), flags, ref, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user