mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Core, DolphinQt, UICommon: Fix all cases of -Wrange-loop-construct in gcc 11
This commit is contained in:
parent
db02b50d2e
commit
ab252aedfa
5 changed files with 25 additions and 20 deletions
|
@ -440,7 +440,7 @@ void GameCubePane::LoadSettings()
|
|||
|
||||
bool have_menu = false;
|
||||
|
||||
for (const std::string& dir : {USA_DIR, JAP_DIR, EUR_DIR})
|
||||
for (const std::string dir : {USA_DIR, JAP_DIR, EUR_DIR})
|
||||
{
|
||||
const auto path = DIR_SEP + dir + DIR_SEP GC_IPL;
|
||||
if (File::Exists(File::GetUserPath(D_GCUSER_IDX) + path) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue