aboutsummaryrefslogtreecommitdiff
path: root/src/board/fen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/board/fen.cpp')
-rw-r--r--src/board/fen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/board/fen.cpp b/src/board/fen.cpp
index faa8f83..a7e65eb 100644
--- a/src/board/fen.cpp
+++ b/src/board/fen.cpp
@@ -11,7 +11,7 @@
bool WHITE = true;
bool BLACK = false;
-void setBoardFen(std::string fen, Game *g) {
+void setBoardFen(const std::string fen, Game *g) {
// example fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
int file = 0;
int rank = 0;