fix for getline usage with newer compilers
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user