diff --git a/datatest.cpp b/datatest.cpp index 4a7a5554..bdcad918 100644 --- a/datatest.cpp +++ b/datatest.cpp @@ -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; }