diff --git a/src/Pieces/PiecesFiles.cpp b/src/Pieces/PiecesFiles.cpp index 26617f8..da491d4 100644 --- a/src/Pieces/PiecesFiles.cpp +++ b/src/Pieces/PiecesFiles.cpp @@ -151,6 +151,6 @@ bool PiecesFiles::getFilePath(int polyominoSize, std::string& filePath) const { return false; } - filePath = dataFolderPath / (std::to_string(polyominoSize) + "minos.bin"); + filePath = (dataFolderPath / (std::to_string(polyominoSize) + "minos.bin")).string(); return true; }