Fixed const typo
Merge pull request #5582
Merge pull request #5582 in master