aboutsummaryrefslogtreecommitdiff
path: root/src/evaluate.cpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-31 20:27:02 +0200
committerAdam <adammegarules1@gmail.com>2026-07-31 20:27:02 +0200
commit1b006985ba2381a29dd9aa34aec1dafbae224897 (patch)
treee437b4a1ec54cf043f7272a3fc5d3060f5706a37 /src/evaluate.cpp
parentee7815bad917cf880c147186a01679fb7ce46a8e (diff)
using cpp check on this project
Diffstat (limited to 'src/evaluate.cpp')
-rw-r--r--src/evaluate.cpp2
1 files changed, 1 insertions, 1 deletions
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;