Skip to content

Commit

Permalink
Removed use of local static to avoid threading issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Nov 22, 2017
1 parent a5eb5c7 commit 80d1de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osgPlugins/dxf/dxfReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 80d1de7

Please sign in to comment.