mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-20 19:00:29 -05: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