diff options
| author | degasus <wickmarkus@web.de> | 2014-05-31 12:40:22 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-01-11 22:23:35 +0100 |
| commit | 2b47df07b6e256e04f28e6b28faaa45b9fccf17c (patch) | |
| tree | 8738f75c3f0a0922e9e27ff70c4a871d812bfc72 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 1c98a43203263b73da32c19085492c94214a56cb (diff) | |
TexCache: use c++11 syntax for std::map::erase
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index d963727232..88737a1e95 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -152,7 +152,7 @@ void TextureCache::Cleanup(int _frameCount) !iter->second->IsEfbCopy()) { delete iter->second; - textures.erase(iter++); + iter = textures.erase(iter); } else { |
