Please use range-based loop instead.