X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmisc.cpp;h=1cb515c3e41f20e6d081061e806b77f7436b2df6;hb=31acd6bab70f4661316986c2c93163d39736fd61;hp=2d86969f5361a41ef5d97047ffe0e436387a71f4;hpb=758f9c9350abee36a5865ec701560db8ea62004d;p=stockfish diff --git a/src/misc.cpp b/src/misc.cpp index 2d86969f..1cb515c3 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -1,6 +1,6 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 - Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file) + Copyright (C) 2004-2023 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -68,7 +68,7 @@ namespace Stockfish { namespace { /// Version number or dev. -const string version = "15.1"; +const string version = "dev"; /// Our fancy logging facility. The trick here is to replace cin.rdbuf() and /// cout.rdbuf() with two Tie objects that tie cin and cout to a file stream. We @@ -517,7 +517,7 @@ void bindThisThread(size_t) {} /// API and returns the best node id for the thread with index idx. Original /// code from Texel by Peter Österlund. -int best_node(size_t idx) { +static int best_node(size_t idx) { int threads = 0; int nodes = 0;