Archived
1
Fork 0

Ignore EXLT header string in exl files

This commit is contained in:
Joshua Goins 2022-04-11 11:36:04 -04:00
parent 58cd40912f
commit 8b6842c0e0

View file

@ -18,9 +18,12 @@ EXL readEXL(std::string_view path) {
const size_t comma = line.find_first_of(',');
std::string name = line.substr(0, comma);
std::string id = line.substr(comma + 1, line.length());
exl.rows.push_back({name, std::stoi(id)});
if(name != "EXLT") {
std::string id = line.substr(comma + 1, line.length());
exl.rows.push_back({name, std::stoi(id)});
}
}
return exl;