Another loop.
This commit is contained in:
+2
-2
@@ -161,8 +161,8 @@ void BannerCache::OutputStats() const
|
|||||||
|
|
||||||
void BannerCache::UnloadAllBanners()
|
void BannerCache::UnloadAllBanners()
|
||||||
{
|
{
|
||||||
FOREACHM( RString, RageSurface *, g_BannerPathToImage, it )
|
for (std::pair<RString const &, RageSurface *> it : g_BannerPathToImage)
|
||||||
delete it->second;
|
delete it.second;
|
||||||
|
|
||||||
g_BannerPathToImage.clear();
|
g_BannerPathToImage.clear();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user