Corrected a n00b C++ move error

This commit is contained in:
Nathan Woods 2016-06-29 22:25:58 -04:00
parent a2b07a8969
commit f0d35cd91a

View File

@ -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);
} }
//------------------------------------------------- //-------------------------------------------------