0024831: Make iterators of NCollection classes STL-compatible
[occt.git] / src / QANewModTopOpe / QANewModTopOpe_Glue_shell.cxx
index fba77fc..1974a47 100644 (file)
@@ -1356,7 +1356,7 @@ QANewModTopOpe_Glue::SectionInsideFace(const TopoDS_Face& theFace,
     // check if vertices of aSEdge contacts edges of aFace
     TopoDS_Iterator aIter (aSEdge, Standard_False);
     for (; aIter.More(); aIter.Next()) {
-      const TopoDS_Vertex& aSVer = TopoDS::Vertex (aIter.Value());
+      TopoDS_Vertex aSVer = TopoDS::Vertex (aIter.Value());
       if (aSVer.Orientation() != TopAbs_FORWARD &&
          aSVer.Orientation() != TopAbs_REVERSED) continue;