We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8dc458 commit 90fe444Copy full SHA for 90fe444
framework/Mesh.cpp
@@ -91,13 +91,14 @@ namespace Framework
91
inStream.seekg(0, std::ios_base::beg);\
92
inStream >> std::skipws;\
93
\
94
- while(!inStream.eof() && inStream.good())\
+ while(inStream.good())\
95
{\
96
AttribData theValue;\
97
- inStream >> theValue.attribDataValue >> std::ws;\
+ inStream >> theValue.attribDataValue;\
98
if(inStream.fail())\
99
throw std::runtime_error("Parse error in array data stream.");\
100
outputData.push_back(theValue);\
101
+ inStream >> std::ws;\
102
}\
103
104
0 commit comments