Removed use of local static to avoid threading issue.

This commit is contained in:
Robert Osfield 2017-11-22 11:05:17 +00:00
parent a5eb5c7bb0
commit 80d1de7832

View File

@ -85,7 +85,7 @@ bool readerText::success(bool inSuccess, string type)
bool readerText::getTrimmedLine(std::ifstream& f)
{
static string line = "";
std::string line;
if (getline(f, line, _delim)) {
++_lineCount;
_str.clear();