Removed use of local static to avoid threading issue.
This commit is contained in:
parent
a5eb5c7bb0
commit
80d1de7832
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user