[ADCE] Convert another loop for a range-based for