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