Use range-based for.