0026460: Implicit cast to TopoDS_Shape compilation error due to ambiguous conversion
[occt.git] / src / BRepBuilderAPI / BRepBuilderAPI_MakeEdge2d.hxx
index 95d373b..44bac00 100644 (file)
@@ -149,8 +149,8 @@ public:
   //! Returns the error description when NotDone.
   Standard_EXPORT BRepBuilderAPI_EdgeError Error() const;
   
-  Standard_EXPORT const TopoDS_Edge& Edge() const;
-Standard_EXPORT operator TopoDS_Edge() const;
+  Standard_EXPORT const TopoDS_Edge& Edge();
+  Standard_EXPORT operator TopoDS_Edge();
   
   //! Returns the first vertex of the edge. May be Null.
   Standard_EXPORT const TopoDS_Vertex& Vertex1() const;