From e7079c3c736c75965fca68fa11e05af7b8291a0e Mon Sep 17 00:00:00 2001 From: rektdie Date: Fri, 11 Apr 2025 21:32:03 +0200 Subject: [PATCH] bugfix related to function declaration --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index ec655df..7edce3c 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])); } -static bool IsDraw(Board &board, SearchContext& ctx) { +bool IsDraw(Board &board, SearchContext& ctx) { return IsFifty(board) || IsInsuffMat(board) || IsThreefold(board, ctx); }