mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Run code through clang-modernize -loop-convert to create range-based for loops, and manually fix some stuff up.
This commit is contained in:
@ -73,9 +73,9 @@ private:
|
||||
{
|
||||
size_t h = -1;
|
||||
|
||||
for (unsigned int i = 0; i < sizeof(vid) / sizeof(vid[0]); ++i)
|
||||
for (auto word : vid)
|
||||
{
|
||||
h = h * 137 + vid[i];
|
||||
h = h * 137 + word;
|
||||
}
|
||||
|
||||
return h;
|
||||
|
Reference in New Issue
Block a user