1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0026922: Huge performance issue writing data to the output stream

Test case for issue CR26922

Correction of literal (char to string)
This commit is contained in:
mgn
2015-12-02 16:39:55 +03:00
committed by bugmaster
parent cc6852f3e9
commit 586db386eb
183 changed files with 3221 additions and 3181 deletions

View File

@@ -43,21 +43,21 @@ Standard_Integer Vrml_PointSet::NumPoints() const
Standard_OStream& Vrml_PointSet::Print(Standard_OStream& anOStream) const
{
anOStream << "PointSet {" << endl;
anOStream << "PointSet {\n";
if ( myStartIndex != 0 || myNumPoints !=-1 )
{
if ( myStartIndex != 0)
{
anOStream << " startIndex" << '\t';
anOStream << myStartIndex << endl;
anOStream << " startIndex\t";
anOStream << myStartIndex << "\n";
}
if ( myNumPoints != 0)
{
anOStream << " numPoints" << '\t';
anOStream << myNumPoints << endl;
anOStream << " numPoints\t";
anOStream << myNumPoints << "\n";
}
}
anOStream << '}' << endl;
anOStream << "}\n";
return anOStream;
}