mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +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:
@@ -31,12 +31,12 @@ Vrml_Switch::Vrml_Switch(const Standard_Integer aWhichChild)
|
||||
|
||||
Standard_OStream& Vrml_Switch::Print(Standard_OStream& anOStream) const
|
||||
{
|
||||
anOStream << "Switch {" << endl;
|
||||
anOStream << "Switch {\n";
|
||||
if ( myWhichChild != -1 )
|
||||
{
|
||||
anOStream << " whichChild" << '\t';
|
||||
anOStream << myWhichChild << endl;
|
||||
anOStream << " whichChild\t";
|
||||
anOStream << myWhichChild << "\n";
|
||||
}
|
||||
anOStream << '}' << endl;
|
||||
anOStream << "}\n";
|
||||
return anOStream;
|
||||
}
|
||||
|
Reference in New Issue
Block a user