summaryrefslogtreecommitdiff
path: root/src/ChessArbiter.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-12-27 11:28:13 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-12-27 11:28:13 +0100
commitd32baf9894ce67850c83b6e4a281bd1cfd921a93 (patch)
tree0d760a3637bd9972f124bf22044b9ef41d6fad6a /src/ChessArbiter.hpp
parentf9ac11ad44b00f7e29ef2a9159c65f146f739835 (diff)
Improve code in general
Diffstat (limited to 'src/ChessArbiter.hpp')
-rw-r--r--src/ChessArbiter.hpp4
1 files changed, 2 insertions, 2 deletions
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<std::string, char> 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;