]> git.sesse.net Git - stockfish/blobdiff - src/tt.h
Rename posKey stored in the transposition table
[stockfish] / src / tt.h
index 3edd5e8a1fdfda660eedc08ea89c57261eeb364b..705bac9161edb5c882b9c8224042b42a041ad0b1 100644 (file)
--- a/src/tt.h
+++ b/src/tt.h
@@ -97,11 +97,11 @@ class TranspositionTable {
 
 public:
   TranspositionTable();
 ~TranspositionTable();
+ ~TranspositionTable();
   void set_size(size_t mbSize);
   void clear();
-  void store(const Key posKey, Value v, Bound type, Depth d, Move m, Value statV, Value kingD);
-  TTEntry* probe(const Key posKey) const;
+  void store(const Key key, Value v, Bound type, Depth d, Move m, Value statV, Value kingD);
+  TTEntry* probe(const Key key) const;
   void new_search();
   TTEntry* first_entry(const Key posKey) const;
   void refresh(const TTEntry* tte) const;