]> git.sesse.net Git - stockfish/commitdiff
Make a version of Position::do_move() without the givesCheck parameter
authorAram Tumanian <aram_tumanian@ukr.net>
Fri, 11 Nov 2016 13:02:28 +0000 (15:02 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 12 Nov 2016 08:55:12 +0000 (09:55 +0100)
In 10 of 12 calls total to Position::do_move()the givesCheck argument is
simply gives_check(m). So it's reasonable to make an overload without
this parameter, which wraps the existing version.

No functional change.


No differences found