Commit 7911242f authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Merge branch 'csvfile-carriage-return' into 'master'


See merge request !108
parents 662b0b2e dfdc7ff6
Pipeline #149652 passed with stages
in 19 minutes and 18 seconds
......@@ -75,6 +75,8 @@ bool radix::CSVFile::data(std::vector<std::vector<std::string>> &data) const
std::string line;
while (std::getline(in, line))
// remove trailing carriage return
line.erase(line.find_last_not_of("\r") + 1);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment