forked from dolphin-emu/dolphin
TexCache: use c++11 syntax for std::map::erase
This commit is contained in:
@@ -152,7 +152,7 @@ void TextureCache::Cleanup(int _frameCount)
|
||||
!iter->second->IsEfbCopy())
|
||||
{
|
||||
delete iter->second;
|
||||
textures.erase(iter++);
|
||||
iter = textures.erase(iter);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user