fix for getline usage with newer compilers

This commit is contained in:
john30
2016-05-21 10:03:25 +02:00
parent 13cf5b2d23
commit 6e998909cf
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -408,7 +408,7 @@ int main()
string item;
vector<string> entries;
while (getline(isstr, item, FIELD_SEPARATOR) != 0)
while (getline(isstr, item, FIELD_SEPARATOR))
entries.push_back(item);
if (fields != NULL) {