]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Remove pawnKey from StateInfo
[stockfish] / src / position.h
index 7d4b37719122ed18eec0b94c833e9e45f9e1b37d..e3917ede040b568cf54264413237f842f24cd760 100644 (file)
@@ -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;
 }