mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Run code through clang-modernize -loop-convert to create range-based for loops, and manually fix some stuff up.
This commit is contained in:
parent
00fe5057f1
commit
965b32be9c
90 changed files with 688 additions and 739 deletions
|
@ -1795,9 +1795,9 @@ void CFrame::GameListChanged(wxCommandEvent& event)
|
|||
CFileSearch FileSearch(Extensions, Directories);
|
||||
const CFileSearch::XStringVector& rFilenames = FileSearch.GetFileNames();
|
||||
|
||||
for (u32 i = 0; i < rFilenames.size(); i++)
|
||||
for (auto& rFilename : rFilenames)
|
||||
{
|
||||
File::Delete(rFilenames[i]);
|
||||
File::Delete(rFilename);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue