X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.h;h=3953d1c90dabfcdb462484575c36d0a9963c9717;hp=3113751adb938e868616efe6a8eb78c15e946b43;hb=7f142d68179919a507204e7980fff4f79648dbbc;hpb=bd1c3ed7e32d3df0ceb29cb6959599e3cac2057c 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;