From 1723356f62f07f9c8de1dabf8c89f20e84e64eb8 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 3 Feb 2025 15:34:52 +0100 Subject: [PATCH] removed useless stuff --- cpp/src/coords.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/src/coords.hpp b/cpp/src/coords.hpp index 4972856..a18d51d 100644 --- a/cpp/src/coords.hpp +++ b/cpp/src/coords.hpp @@ -17,8 +17,7 @@ struct Coords { return this->y * 8 + this->x; } - static Coords from_index(int idx, const char* yes = __builtin_FUNCTION()) { - // std::cout << yes << std::endl; + static Coords from_index(int idx) { if (idx < 0 || idx > 63) throw std::invalid_argument("The index is outside the board..."); return {idx % 8, idx / 8};