Remove a duplicated 'const' that should have been removed in 1.24