mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Turn loops into range-based form
and some things suggested by cppcheck and compiler warnings.
This commit is contained in:
@ -1012,10 +1012,9 @@ void PSTextureEncoder::Shutdown()
|
||||
SAFE_RELEASE(m_classLinkage);
|
||||
SAFE_RELEASE(m_dynamicShader);
|
||||
|
||||
for (ComboMap::iterator it = m_staticShaders.begin();
|
||||
it != m_staticShaders.end(); ++it)
|
||||
for (auto& it : m_staticShaders)
|
||||
{
|
||||
SAFE_RELEASE(it->second);
|
||||
SAFE_RELEASE(it.second);
|
||||
}
|
||||
m_staticShaders.clear();
|
||||
|
||||
|
Reference in New Issue
Block a user