Codechange: range based for loops instead of C-style for loops

This commit is contained in:
Rubidium
2024-04-09 17:18:35 +02:00
committed by rubidium42
parent 2587a21400
commit 4f2412a272
19 changed files with 65 additions and 66 deletions

View File

@@ -93,8 +93,8 @@ static GenericCallbackList _gcl[GSF_END];
*/
void ResetGenericCallbacks()
{
for (uint8_t feature = 0; feature < lengthof(_gcl); feature++) {
_gcl[feature].clear();
for (auto &gcl : _gcl) {
gcl.clear();
}
}