From 362ad692864d62e4833f8ae455f9776a191c1812 Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 9 Jul 2015 16:29:08 +0300 Subject: [PATCH] patch for compilation on Linux --- src/HYDROData/HYDROData_TopoCurve.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2