Fix minor const correctness issue (#4271)

1 file changed