Use Readline in datatest.cpp

This commit is contained in:
Jeffrey Walton 2021-03-19 18:48:06 -04:00
parent 07d3f954c9
commit d32ff560eb
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -1173,7 +1173,7 @@ bool GetField(std::istream &is, std::string &name, std::string &value)
if (continueLine)
value += ' ';
}
while (continueLine && is >> std::ws && std::getline(is, line));
while (continueLine && Readline(is, line));
return true;
}