Skip to content

Commit

Permalink
remove redundant fen comments
Browse files Browse the repository at this point in the history
  • Loading branch information
m-heim committed Mar 24, 2024
1 parent 7651512 commit a4cc6ca
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/position/fen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
#include <iostream>
#include <square.hpp>

/*
@brief Parse a fen from a string, exits on error
*/
Position parseFen(const std::string &fen) {
int start = 0;
size_t next = fen.find(' ', start);
Expand Down Expand Up @@ -89,9 +86,6 @@ Position parseFen(const std::string &fen) {
return position;
}

/*
@brief read a fen from a file, does not check for validity
*/
std::string readFen(const std::string &fenPath) {
std::ifstream fen_file_stream(fenPath, std::ios::in);
if (!fen_file_stream.is_open()) {
Expand Down

0 comments on commit a4cc6ca

Please sign in to comment.