summaryrefslogtreecommitdiff
path: root/src/Piece.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Piece.hpp')
-rw-r--r--src/Piece.hpp2
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();
};