X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.h;h=e8dc021bafc1d537524ebdfa2b55754d98388f6b;hp=0918e3e8d3938ff7a3aac7b4859c8f572c910d91;hb=aabd526f7c9cec1d1f6a8f7da738311487aa42b8;hpb=2f2e48fad23225d23f87b95fb842156cfee668fb diff --git a/src/tt.h b/src/tt.h index 0918e3e8..e8dc021b 100644 --- a/src/tt.h +++ b/src/tt.h @@ -83,14 +83,14 @@ public: ~TranspositionTable(); void set_size(unsigned mbSize); void clear(); - void store(const Position& pos, Value v, ValueType type, Depth d, Move m); - TTEntry* retrieve(const Position& pos) const; + void store(const Key posKey, Value v, ValueType type, Depth d, Move m); + TTEntry* retrieve(const Key posKey) const; void new_search(); void insert_pv(const Position& pos, Move pv[]); int full() const; private: - inline TTEntry* first_entry(const Position& pos) const; + inline TTEntry* first_entry(const Key posKey) const; unsigned size, writes; TTEntry* entries;