X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.h;h=3953d1c90dabfcdb462484575c36d0a9963c9717;hp=3113751adb938e868616efe6a8eb78c15e946b43;hb=f5e872a0e303022913984e325dbfcc8c0eb0d0ad;hpb=002062ae934c1fae3e56157e8e7e6451b552ada5 diff --git a/src/tt.h b/src/tt.h index 3113751a..3953d1c9 100644 --- a/src/tt.h +++ b/src/tt.h @@ -78,7 +78,7 @@ class TranspositionTable { public: ~TranspositionTable() { free(mem); } - void new_search() { generation++; } + void new_search() { ++generation; } const TTEntry* probe(const Key key) const; TTEntry* first_entry(const Key key) const;