From b0ed5c409f822fa120ef2e2c830842204b0945c1 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 16 Aug 2026 10:17:53 +0200 Subject: Fixing compiler errors --- src/uci.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/uci.cpp') diff --git a/src/uci.cpp b/src/uci.cpp index f435a06..ff8bc33 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -99,7 +99,7 @@ static void PrintBitboard(uint64_t bb, const std::string &name) { } static void DebugBitboards(const Game *g) { - static constexpr const std::array pieceNames = { + static const std::array pieceNames = { "None", "Pawn", "Knight", "Bishop", "Rook", "Queen", "King", }; @@ -123,7 +123,7 @@ static void DebugBitboards(const Game *g) { pieceNames[static_cast(type)]); } } -} +}; static void printPromotionLetter(PieceType p) { if (p == NONEPIECE) { return; -- cgit v1.2.3