X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;fp=src%2Fposition.h;h=e3917ede040b568cf54264413237f842f24cd760;hp=7d4b37719122ed18eec0b94c833e9e45f9e1b37d;hb=18fdc2df3c1fe0eeaae26a9235fb9bc17221e9c0;hpb=e8a5c64988d4c0d3d6c87e3ba3204ab4cf512bcb diff --git a/src/position.h b/src/position.h index 7d4b3771..e3917ede 100644 --- a/src/position.h +++ b/src/position.h @@ -40,7 +40,6 @@ namespace Stockfish { struct StateInfo { // Copied when making a move - Key pawnKey; Key materialKey; Value nonPawnMaterial[COLOR_NB]; int castlingRights; @@ -338,10 +337,6 @@ inline Key Position::adjust_key50(Key k) const ? k : k ^ make_key((st->rule50 - (14 - AfterMove)) / 8); } -inline Key Position::pawn_key() const { - return st->pawnKey; -} - inline Key Position::material_key() const { return st->materialKey; }