mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Turn loops into range-based form
and some things suggested by cppcheck and compiler warnings.
This commit is contained in:
@ -117,9 +117,9 @@ public:
|
||||
case MODE_WRITE:
|
||||
case MODE_MEASURE:
|
||||
case MODE_VERIFY:
|
||||
for (auto itr = x.begin(); itr != x.end(); ++itr)
|
||||
for (V& val : x)
|
||||
{
|
||||
Do(*itr);
|
||||
Do(val);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user