From d32baf9894ce67850c83b6e4a281bd1cfd921a93 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Tue, 27 Dec 2022 11:28:13 +0100 Subject: Improve code in general --- src/ChessArbiter.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ChessArbiter.hpp') diff --git a/src/ChessArbiter.hpp b/src/ChessArbiter.hpp index b874493..c29dd32 100644 --- a/src/ChessArbiter.hpp +++ b/src/ChessArbiter.hpp @@ -29,8 +29,8 @@ class ChessArbiter { /// @brief Use to compute occurences of positions std::unordered_map positions; /// @brief FEN methods used internally - void SetFEN(std::string); - void SetFEN(FEN); + void SetFEN(const std::string &newfen); + void SetFEN(const FEN &fen); std::string SAN, SAN_last; char capture; bool was_enpassant; -- cgit v1.2.3