forked from dolphin-emu/dolphin
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