Compliance with Google C++ style guide

4. Pointer-type input parameters must be const.