aboutsummaryrefslogtreecommitdiff
path: root/src/uci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uci.cpp')
-rw-r--r--src/uci.cpp4
1 files changed, 2 insertions, 2 deletions
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<std::string, 7> pieceNames = {
+ static const std::array<std::string, 7> pieceNames = {
"None", "Pawn", "Knight", "Bishop", "Rook", "Queen", "King",
};
@@ -123,7 +123,7 @@ static void DebugBitboards(const Game *g) {
pieceNames[static_cast<size_t>(type)]);
}
}
-}
+};
static void printPromotionLetter(PieceType p) {
if (p == NONEPIECE) {
return;