]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
Rename psq_score in ReducedStateInfo
[stockfish] / src / position.cpp
index fd7b1ba26a02bd2c154ae1108e711517bf977f98..c26ab1b6884abe0c17066dac51ada332f900033c 100644 (file)
@@ -700,14 +700,6 @@ void Position::do_move(Move m, StateInfo& newSt, const CheckInfo& ci, bool moveI
   // Copy some fields of old state to our new StateInfo object except the ones
   // which are recalculated from scratch anyway, then switch our state pointer
   // to point to the new, ready to be updated, state.
   // Copy some fields of old state to our new StateInfo object except the ones
   // which are recalculated from scratch anyway, then switch our state pointer
   // to point to the new, ready to be updated, state.
-  struct ReducedStateInfo {
-    Key pawnKey, materialKey;
-    Value npMaterial[2];
-    int castleRights, rule50, pliesFromNull;
-    Score psq_score;
-    Square epSquare;
-  };
-
   memcpy(&newSt, st, sizeof(ReducedStateInfo));
 
   newSt.previous = st;
   memcpy(&newSt, st, sizeof(ReducedStateInfo));
 
   newSt.previous = st;