]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
patch for compilation on Linux
authorasl <asl@opencascade.com>
Thu, 9 Jul 2015 13:29:08 +0000 (16:29 +0300)
committerasl <asl@opencascade.com>
Thu, 9 Jul 2015 13:29:08 +0000 (16:29 +0300)
src/HYDROData/HYDROData_TopoCurve.cxx

index 449db4c98fa9a81764bcd38ef5a20ecef6ae5b2c..705b1b2bb521ec68a532fee813c5c2704043a50a 100644 (file)
@@ -97,7 +97,7 @@ template<typename ItemType> static void InsertAfter(
   const ItemType& theValue,
   std::list<ItemType>& theList)
 {
-  std::list<ItemType>::iterator aEIt2 = thePosition;
+  typename std::list<ItemType>::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);