mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-04 15:58:04 +03:00
TexCache: use c++11 syntax for std::map::erase
This commit is contained in:
parent
1c98a43203
commit
2b47df07b6
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ void TextureCache::Cleanup(int _frameCount)
|
||||||
!iter->second->IsEfbCopy())
|
!iter->second->IsEfbCopy())
|
||||||
{
|
{
|
||||||
delete iter->second;
|
delete iter->second;
|
||||||
textures.erase(iter++);
|
iter = textures.erase(iter);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue