]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Revert "Use a per-thread array"
[stockfish] / src / movepick.cpp
index 4f2fa01eb231ba64e10feaba33d1af33977a35be..643c8368ca4cf1c28cbf4baa447aa88b5eb0248e 100644 (file)
@@ -231,7 +231,7 @@ void MovePicker::generate_next() {
       killers[2].move = killers[3].move = MOVE_NONE;
 
       // Be sure countermoves are different from killers
-      for (int i = 0; i < 2; i++)
+      for (int i = 0; i < 2; ++i)
           if (countermoves[i] != cur->move && countermoves[i] != (cur+1)->move)
               (end++)->move = countermoves[i];