]> git.sesse.net Git - stockfish/commit - src/ucioption.cpp
Use int conversion for Option class
authorMinetaS <skdty87@gmail.com>
Fri, 7 Apr 2023 15:23:04 +0000 (15:23 +0000)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 10 Apr 2023 07:27:35 +0000 (09:27 +0200)
commit6e63dd63a4f1e3074a9f5a8d7f64fdd0eba19c7e
tree9def1d3bda683d56ee852ce4f7d1c4016df8670f
parent5d258e168f7ea9019ed640ae2e56f04b26aea6a2
Use int conversion for Option class

The current implementation generates warnings on MSVC. However, we have
no real use cases for double-typed UCI option values now. Also parameter
tuning only accepts following three types:

  int, Value, Score

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

No functional change
src/tt.cpp
src/uci.h
src/ucioption.cpp