From 1b006985ba2381a29dd9aa34aec1dafbae224897 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 31 Jul 2026 20:27:02 +0200 Subject: using cpp check on this project --- src/evaluate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/evaluate.cpp') diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 7d0a78e..a777e0c 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -150,7 +150,7 @@ int CountBoardMaterial(Game *g) { return score; }; -bool IsEndgame(Game *g) { +bool IsEndgame(const Game *g) { int queens = 0; int rooks = 0; -- cgit v1.2.3