From f0d35cd91a8f1a030ba970cff2d67cb7b0deaeb1 Mon Sep 17 00:00:00 2001 From: Nathan Woods Date: Wed, 29 Jun 2016 22:25:58 -0400 Subject: [PATCH] Corrected a n00b C++ move error --- src/frontend/mame/ui/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/mame/ui/menu.cpp b/src/frontend/mame/ui/menu.cpp index 56daa054b04..246a4dfc462 100644 --- a/src/frontend/mame/ui/menu.cpp +++ b/src/frontend/mame/ui/menu.cpp @@ -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) { - item_append((std::string&&)text, (std::string&&)subtext, flags, ref, type); + item_append(std::string(text), std::string(subtext), flags, ref, type); } //-------------------------------------------------