]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Correcty resey TB hit counter
[stockfish] / src / position.h
index e74a3c713128939a1a2d9e558a5c1e0345de4139..9aa4c44533cdf5f536b8232ea3a186245120b2e4 100644 (file)
@@ -148,7 +148,6 @@ public:
   bool is_chess960() const;
   Thread* this_thread() const;
   uint64_t nodes_searched() const;
-  void set_nodes_searched(uint64_t n);
   bool is_draw() const;
   int rule50_count() const;
   Score psq_score() const;
@@ -341,10 +340,6 @@ inline uint64_t Position::nodes_searched() const {
   return nodes;
 }
 
-inline void Position::set_nodes_searched(uint64_t n) {
-  nodes = n;
-}
-
 inline bool Position::opposite_bishops() const {
   return   pieceCount[W_BISHOP] == 1
         && pieceCount[B_BISHOP] == 1