mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024792: Remove unused hacks for compilers without STL
This commit is contained in:
@@ -172,13 +172,7 @@ static void SetLabelNameByShape(const TDF_Label L)
|
||||
// if (Type == TopAbs_COMPOUND) Stream<<"ASSEMBLY";
|
||||
// else
|
||||
TopAbs::Print(S.ShapeType(), Stream);
|
||||
|
||||
#ifdef USE_STL_STREAM
|
||||
TCollection_AsciiString aName (Stream.str().c_str());
|
||||
#else
|
||||
Stream << ends;
|
||||
TCollection_AsciiString aName (Stream.str());
|
||||
#endif
|
||||
TDataStd_Name::Set(L, TCollection_ExtendedString(aName));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user