mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0024536: GCC compiler warning on breakage of pointer aliasing rules in BRepFill_Evolved.cxx
Avoid storing result of call to TopoDS::Edge() as reference
This commit is contained in:
parent
861a7b03e1
commit
73ccc151fd
@ -1700,7 +1700,7 @@ const
|
||||
|
||||
for (TopoDS_Iterator IteW(IteF.Value()); IteW.More(); IteW.Next()) {
|
||||
|
||||
const TopoDS_Edge& E = TopoDS::Edge(IteW.Value());
|
||||
TopoDS_Edge E = TopoDS::Edge(IteW.Value());
|
||||
EdgeVertices(E,V1,V2);
|
||||
MapSpine.Bind(V1,V1);
|
||||
MapSpine.Bind(V2,V2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user