mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Use range loop (if possible)
This commit is contained in:

committed by
Jordan Woyak

parent
0fa4812c2f
commit
0ede5d1537
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user