]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
Clean up repetitive declarations for see_ge
[stockfish] / src / position.cpp
index ba6888eb9489662cc4746726e9c04f2a6de0414e..e6fdb511fcc10a03f11ab3eb72fd79917f52d96e 100644 (file)
@@ -1163,6 +1163,11 @@ bool Position::see_ge(Move m, Bitboard& occupied, Value threshold) const {
   return bool(res);
 }
 
+bool Position::see_ge(Move m, Value threshold) const {
+    Bitboard occupied;
+    return see_ge(m, occupied, threshold);
+}
+
 
 /// Position::is_draw() tests whether the position is drawn by 50-move rule
 /// or by repetition. It does not detect stalemates.