Adding const.
Merge pull request #5249

38c62ae Adding const. (sinetek)