From: asl Date: Thu, 9 Jul 2015 13:29:08 +0000 (+0300) Subject: patch for compilation on Linux X-Git-Tag: BR_quadtree_20150925~2^2~4^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=362ad692864d62e4833f8ae455f9776a191c1812;p=modules%2Fhydro.git patch for compilation on Linux --- diff --git a/src/HYDROData/HYDROData_TopoCurve.cxx b/src/HYDROData/HYDROData_TopoCurve.cxx index 449db4c9..705b1b2b 100644 --- a/src/HYDROData/HYDROData_TopoCurve.cxx +++ b/src/HYDROData/HYDROData_TopoCurve.cxx @@ -97,7 +97,7 @@ template static void InsertAfter( const ItemType& theValue, std::list& theList) { - std::list::iterator aEIt2 = thePosition; + typename std::list::iterator aEIt2 = thePosition; if (++aEIt2 != theList.end()) { theList.insert(aEIt2, theValue); @@ -791,7 +791,7 @@ bool HYDROData_TopoCurve::Connect( return false; } - HYDROData_TopoCurve aECurve = BRepBuilderAPI_MakeEdge(aBSpline); + HYDROData_TopoCurve aECurve = BRepBuilderAPI_MakeEdge(aBSpline).Edge(); aCurve2.Merge(aOrder, aECurve); } aCurve2.Merge(aOrder, *this);