Skip to content

Commit

Permalink
GCC 14.1: another fix for mame's menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbbert committed Aug 16, 2024
1 parent 37d7bd1 commit 36dbdfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontend/mame/ui/filesel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@ void menu_file_selector::populate(float &customtop, float &custombottom)
if (m_entrylist.size() > first)
{
// sort the menu entries
std::collate<wchar_t> const &coll = std::use_facet<std::collate<wchar_t> >(std::locale());
std::locale const lcl;
std::collate<wchar_t> const &coll = std::use_facet<std::collate<wchar_t> >(lcl);
std::sort(
m_entrylist.begin() + first,
m_entrylist.end(),
Expand Down

0 comments on commit 36dbdfd

Please sign in to comment.