No need to take iterator by reference.