1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024750: Replace instantiations of TCollection generic classes by NCollection templates -- manual changes

Forward declaration of TCollection instances as classes are replaced by inclusion of corresponding header.
Cyclic dependencies between declaration of collection class and its item are resolved by forward declaring a class in collection header.
This commit is contained in:
abv
2014-06-02 09:08:25 +03:00
parent df8d39700d
commit b7c077b9ee
67 changed files with 120 additions and 472 deletions

View File

@@ -443,7 +443,7 @@ void BRepLib_FuseEdges::BuildListResultEdges()
const Standard_Integer& iLst = itLstEdg.Key();
const TopTools_ListOfShape& LmapEdg = myMapLstEdg.Find(iLst);
TopoDS_Edge& OldEdge = TopoDS::Edge(LmapEdg.First());
TopoDS_Edge OldEdge = TopoDS::Edge(LmapEdg.First());
// the first edge of the list will be replaced by the result fusion edge
if (OldEdge.Orientation()==TopAbs_REVERSED) {
@@ -575,8 +575,7 @@ void BRepLib_FuseEdges::Perform()
TopTools_ListIteratorOfListOfShape itEdg;
EdgeToSubs.Clear();
TopoDS_Edge& OldEdge = TopoDS::Edge(LmapEdg.First());
TopoDS_Edge OldEdge = TopoDS::Edge(LmapEdg.First());
EdgeToSubs.Append(myMapEdg(iLst));
Bsub.Substitute(OldEdge,EdgeToSubs);