refs !1
*changed the static variables to be common variables.
If one opens a lot of files, using thread local could be an alternative as long as the compiler supports it.
This commit is contained in:
Martin
2015-09-14 13:26:19 +02:00
parent 2dce1916c5
commit f28aa26ab2
3 changed files with 6 additions and 6 deletions

View File

@@ -192,8 +192,8 @@ _OFFReader_::read_ascii(std::istream& _in, BaseImporter& _bi, Options& _opt) con
OpenMesh::Vec4f c4f;
BaseImporter::VHandles vhandles;
VertexHandle vh;
static std::stringstream stream;
static std::string trash;
std::stringstream stream;
std::string trash;
// read header line
std::string header;