]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.h
Mark CheckInfo c'tor as explicit
[stockfish] / src / evaluate.h
index ddae4b7e6e1f4d1b3376c24e404a9a3804a8a2e9..754d52f618621131867fcd04ec967fb33412b386 100644 (file)
@@ -89,9 +89,6 @@ struct EvalInfo {
   // 2 to kingAdjacentZoneAttacksCount[BLACK].
   int kingAdjacentZoneAttacksCount[2];
 
-  // mateThreat[color] is a move for the given side which gives a direct mate.
-  Move mateThreat[2];
-
   // Middle game and endgame mobility scores
   Score mobility;
 
@@ -104,7 +101,7 @@ struct EvalInfo {
 //// Prototypes
 ////
 
-extern Value evaluate(const Position& pos, EvalInfo& ei, int threadID);
+extern Value evaluate(const Position& pos, EvalInfo& ei);
 extern void init_eval(int threads);
 extern void quit_eval();
 extern void read_weights(Color sideToMove);