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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user