]> git.sesse.net Git - stockfish/blobdiff - src/tt.h
Use prefix operators wherever possible
[stockfish] / src / tt.h
index 3113751adb938e868616efe6a8eb78c15e946b43..3953d1c90dabfcdb462484575c36d0a9963c9717 100644 (file)
--- 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;