From 80d1de783235830e5476a2d1050bda75338cf349 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 22 Nov 2017 11:05:17 +0000 Subject: [PATCH] Removed use of local static to avoid threading issue. --- src/osgPlugins/dxf/dxfReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/dxf/dxfReader.cpp b/src/osgPlugins/dxf/dxfReader.cpp index 9a8c9ceb6..bce713b72 100644 --- a/src/osgPlugins/dxf/dxfReader.cpp +++ b/src/osgPlugins/dxf/dxfReader.cpp @@ -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();