mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
clang-modernize -loop-convert
and some manual adjustments
This commit is contained in:
parent
f401263867
commit
c89f04a7c5
22 changed files with 339 additions and 293 deletions
|
@ -325,11 +325,9 @@ CNANDContentManager CNANDContentManager::m_Instance;
|
|||
|
||||
CNANDContentManager::~CNANDContentManager()
|
||||
{
|
||||
CNANDContentMap::iterator itr = m_Map.begin();
|
||||
while (itr != m_Map.end())
|
||||
for (auto& entry : m_Map)
|
||||
{
|
||||
delete itr->second;
|
||||
++itr;
|
||||
delete entry.second;
|
||||
}
|
||||
m_Map.clear();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue