Remove some incorrectly marked const qualifiers

closes https://github.com/official-stockfish/Stockfish/pull/5744

No functional change
This commit is contained in:
Shawn Xu
2025-01-06 00:43:49 +01:00
committed by Disservin
parent 78b5733939
commit 5cf6f99177
2 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ bool read_parameters(std::istream& stream, T& reference) {
// Write evaluation function parameters
template<typename T>
bool write_parameters(std::ostream& stream, const T& reference) {
bool write_parameters(std::ostream& stream, T& reference) {
write_little_endian<std::uint32_t>(stream, T::get_hash_value());
return reference.write_parameters(stream);