mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Turn loops into range-based form
and some things suggested by cppcheck and compiler warnings.
This commit is contained in:
parent
2ff794d299
commit
404624bf0b
52 changed files with 199 additions and 230 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue