Convert also undo_null_move() to avoid passing UndoInfo object
[stockfish] / src / search.cpp
index 3b81fa86dae57f154d2a41df79620c14a0e6bfb5..8c847714150b7d74668f73a1ef2833f29c311b03 100644 (file)
@@ -1201,7 +1201,7 @@ namespace {
             && pos.see(ss[ply + 1].currentMove) + nullValue >= beta)
             nullDrivenIID = true;
 
-        pos.undo_null_move(u);
+        pos.undo_null_move();
 
         if (value_is_mate(nullValue))
         {