mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
clang-modernize -loop-convert
and some manual adjustments
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user