Added missing const in function definition.