From dc729a3bd5a1579389f2a274c89b3af4da4ac278 Mon Sep 17 00:00:00 2001 From: rektdie Date: Sat, 12 Apr 2025 10:58:32 +0200 Subject: [PATCH] Revert "bugfix related to function declaration" This reverts commit e7079c3c736c75965fca68fa11e05af7b8291a0e. --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 7edce3c..ec655df 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -113,7 +113,7 @@ static bool IsInsuffMat(Board& board) { && !(board.pieces[Pawn] | board.pieces[Queen] | board.pieces[Rook])); } -bool IsDraw(Board &board, SearchContext& ctx) { +static bool IsDraw(Board &board, SearchContext& ctx) { return IsFifty(board) || IsInsuffMat(board) || IsThreefold(board, ctx); }