1
0
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:
kgv
2014-04-03 17:15:09 +04:00
committed by apn
parent 91720fc5f3
commit d41f6af3f2
10 changed files with 50 additions and 168 deletions

View File

@@ -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));
}
}