Use C++11 loops to cut down the code a bit.
Use C++11 loops to cut down the code a bit.


Former-commit-id: 854c3fae0bf549e53375e1c615a44d58e494519f
Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide