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
@@ -238,7 +238,7 @@ public:
ostringstream field;
char prev = FIELD_SEPARATOR;
bool empty = true, read = false;
while (getline(ifs, line) != 0) {
while (getline(ifs, line)) {
read = true;
lineNo++;
trim(line);