From b1812f1df6ec1648f8f60cf7dc5c3930451a1662 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 3 Feb 2025 19:10:49 +0100 Subject: [PATCH] removed the inclusion of move in piece --- cpp/src/pieces/piece.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/src/pieces/piece.hpp b/cpp/src/pieces/piece.hpp index 47c13d7..2505191 100644 --- a/cpp/src/pieces/piece.hpp +++ b/cpp/src/pieces/piece.hpp @@ -1,7 +1,5 @@ #pragma once -#include "../move.hpp" - #include #include #include @@ -29,6 +27,7 @@ inline std::ostream& operator<<(std::ostream& os, const int8_t& i) { class Board; struct Coords; +struct Move; std::vector legal_moves(int8_t, const Board&, const Coords, bool = false); std::vector keep_only_blocking(const std::vector, const Board&);