Fixed reading the last line of config

This commit is contained in:
SChernykh
2025-11-22 09:23:03 +01:00
parent 8230040b76
commit 3584910baa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1049,7 +1049,7 @@ std::vector<std::vector<std::string>> parse_config(const std::string& file_name)
std::string s;
while (std::getline(f, s).good()) {
while (f.good() && std::getline(f, s)) {
if (s.empty()) {
continue;
}