Skip to content

Commit

Permalink
GCC 14.1: fix for dirmenu
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbbert committed Aug 16, 2024
1 parent 0b39dce commit 37d7bd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontend/mame/ui/dirmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ void menu_add_change_folder::populate(float &customtop, float &custombottom)
}

// sort
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(
dirnames.begin(),
dirnames.end(),
Expand Down

0 comments on commit 37d7bd1

Please sign in to comment.