Constify some code as suggested by clang-tidy
After running clang-tidy option is on, some warnings are shown up about const-correctness of mostly functions and for-loops.
Topic-rename: constify
Edited by Brad King
After running clang-tidy option is on, some warnings are shown up about const-correctness of mostly functions and for-loops.
Topic-rename: constify