Fixed const typo
Merge pull request #5582