mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Core, DolphinQt, UICommon: Fix all cases of -Wrange-loop-construct in gcc 11
This commit is contained in:
@ -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) ||
|
||||
|
Reference in New Issue
Block a user