fixing splitStr and position parsing

This commit is contained in:
Clément Le Bihan
2021-06-18 17:54:20 +02:00
parent 3218da652b
commit 4669ff9280
2 changed files with 9 additions and 2 deletions
+3
View File
@@ -85,6 +85,9 @@ namespace BBM
while (std::getline(f, buffer, delim)) {;
strings.push_back(buffer);
}
if (str.back() == delim) {
strings.emplace_back("");
}
return strings;
}