Skip to content

Commit

Permalink
GCC 14.1: and yet another fix to mame's menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbbert committed Aug 16, 2024
1 parent 0418b28 commit 2a39655
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontend/mame/ui/swlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ void menu_software_list::populate(float &customtop, float &custombottom)
}
else
{
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);
m_entrylist.sort(
[&coll] (entry_info const &e1, entry_info const &e2) -> bool
{
Expand Down

0 comments on commit 2a39655

Please sign in to comment.