mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Use range loop (if possible)
This commit is contained in:
parent
0fa4812c2f
commit
0ede5d1537
15 changed files with 92 additions and 100 deletions
|
@ -45,9 +45,9 @@ void Init()
|
|||
|
||||
void Shutdown()
|
||||
{
|
||||
for (int i = 0; i < NUM_OBJECT_BUFFERS; i++)
|
||||
for (auto& slot : ObjectBuffer)
|
||||
{
|
||||
delete[] ObjectBuffer[i];
|
||||
delete[] slot;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue