mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Turn loops into range-based form
and some things suggested by cppcheck and compiler warnings.
This commit is contained in:
@@ -172,7 +172,7 @@ void TextureCache::MakeRangeDynamic(u32 start_address, u32 size)
|
||||
tcend = textures.upper_bound(start_address + size);
|
||||
|
||||
if (iter != textures.begin())
|
||||
iter--;
|
||||
--iter;
|
||||
|
||||
for (; iter != tcend; ++iter)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user