Remove duplication. (#2068)
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 31 Mar 2019 08:44:55 +0000 (10:44 +0200)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Sun, 31 Mar 2019 08:44:55 +0000 (10:44 +0200)
commitd1f76ebcd8cc475d08b468efe4b467e014efef14
tree4ff694b7a8ebc1e01339fa78bd97f448ffbd9fce
parent796d0ad70eaadf1a354d6565181331c981432f2d
Remove duplication. (#2068)

always use the implementation of gives_check in position, no need to
hand-inline part of the implementation in search.

LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 57895 W: 12632 L: 12582 D: 32681
http://tests.stockfishchess.org/tests/view/5c9eaa4b0ebc5925cfffc9e3

No functional change.
src/search.cpp