Move OnChange callback in Option ctors

Parameter 'f' is passed by value and only copied once. Moving it to
avoid unnecessary copies.

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

No functional change
This commit is contained in:
Ahmed Kerimov
2024-01-26 13:52:56 +03:00
committed by Disservin
parent 37bd1e774e
commit c17ec9524d
2 changed files with 6 additions and 5 deletions

View File

@@ -12,6 +12,7 @@ Hisayori Noda (nodchip)
# All other authors of Stockfish code (in alphabetical order)
Aditya (absimaldata)
Adrian Petrescu (apetresc)
Ahmed Kerimov (wcdbmv)
Ajith Chandy Jose (ajithcj)
Alain Savard (Rocky640)
Alayan Feh (Alayan-stk-2)