X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.cpp;h=f24c2f2c0c3d72c1bb332b5589bdc71f6edd0781;hp=0336a832a363291d4c07d5ade63899db790a9bca;hb=eaed535c5f00ee75185e798dc2fe445a11e396af;hpb=49dfc50b1286019ab706c961ab609bed1828d76d;ds=sidebyside diff --git a/src/position.cpp b/src/position.cpp index 0336a832..f24c2f2c 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -1301,11 +1301,6 @@ void Position::undo_null_move() { } -/// -PieceType Position::captured_piece() const { - return st->capture; -} - /// Position::see() is a static exchange evaluator: It tries to estimate the /// material gain or loss resulting from a move. There are three versions of /// this function: One which takes a destination square as input, one takes a