mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-17 16:20:25 +02:00
Use range loop (if possible)
This commit is contained in:
1 parent
0fa4812c2f
commit
0ede5d1537
15 files changed
+92
-100
No files matched your search
@@ -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