mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Turn loops into range-based form
and some things suggested by cppcheck and compiler warnings.
This commit is contained in:
parent
2ff794d299
commit
404624bf0b
52 changed files with 199 additions and 230 deletions
|
@ -149,9 +149,9 @@ void LineGeometryShader::Shutdown()
|
|||
{
|
||||
m_ready = false;
|
||||
|
||||
for (ComboMap::iterator it = m_shaders.begin(); it != m_shaders.end(); ++it)
|
||||
for (auto& it : m_shaders)
|
||||
{
|
||||
SAFE_RELEASE(it->second);
|
||||
SAFE_RELEASE(it.second);
|
||||
}
|
||||
m_shaders.clear();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue