diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-27 11:28:13 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-27 11:28:13 +0100 |
| commit | d32baf9894ce67850c83b6e4a281bd1cfd921a93 (patch) | |
| tree | 0d760a3637bd9972f124bf22044b9ef41d6fad6a /src/Piece.hpp | |
| parent | f9ac11ad44b00f7e29ef2a9159c65f146f739835 (diff) | |
Improve code in general
Diffstat (limited to 'src/Piece.hpp')
| -rw-r--r-- | src/Piece.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Piece.hpp b/src/Piece.hpp index c1f19d6..7469ee2 100644 --- a/src/Piece.hpp +++ b/src/Piece.hpp @@ -19,7 +19,7 @@ public: bool isBlack; std::string coord; char piece; - Piece(char c, std::string coord); + Piece(char c, const std::string &coord); /// @brief Get all possible moves according to the type of piece and its position std::vector<std::string> GetMoves(); }; |
