Codechange: range based for loops instead of C-style for loops
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user