Salome HOME
Porting to OCCT 7.8.0 OCCT780
authorjfa <jfa@opencascade.com>
Mon, 15 Jan 2024 13:53:48 +0000 (13:53 +0000)
committermbs <martin.bernhard@opencascade.com>
Thu, 16 May 2024 07:12:25 +0000 (08:12 +0100)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx
src/GUI/BLSURFPluginGUI.cxx
src/GUI/BLSURFPluginGUI_HypothesisCreator.h

index 8ecdaad063c624ca68aa916bbed8dcc631f99f5f..7783443c8ab35de7febefe435bb9fd80c4a393a4 100644 (file)
@@ -1792,7 +1792,7 @@ namespace
     {
       BRepBuilderAPI_MakeWire newWire;
 
-      typedef NCollection_DataMap<SMESH_TLink, TopoDS_Edge, SMESH_TLink > TSeg2EdgeMap;
+      typedef NCollection_DataMap<SMESH_TLink, TopoDS_Edge, SMESH_TLinkHasher > TSeg2EdgeMap;
       TSeg2EdgeMap seg2EdgeMap;
 
       TopoDS_Iterator edgeIt( wire );
index 2406a3bcbfe76355991e1a95bbd97275fedba75d..9321da32ca34e9787d180b83194cb3d5fe0f46f3 100644 (file)
@@ -26,7 +26,7 @@
 // E.A. : On windows with python 2.6, there is a conflict
 // E.A. : between pymath.h and Standard_math.h which define
 // E.A. : some same symbols : acosh, asinh, ...
-#include <Standard_math.hxx>
+#include <Standard_Real.hxx>
   #include <Python.h>
   #include <pymath.h>
 #endif
index 334980ddc7d527d6f2db9b0517cbc68a728013a2..22236c68d0b3aeba0ea0980da2ec7d71cf8bff65 100644 (file)
 
 #include <Python.h>
 #ifdef WIN32
-  // E.A. : On windows with python 2.6, there is a conflict
-  // E.A. : between pymath.h and Standard_math.h which define
-  // E.A. : some same symbols : acosh, asinh, ...
-  #include <Standard_math.hxx>
-  #include <pymath.h>
+// E.A. : On windows with python 2.6, there is a conflict
+// E.A. : between pymath.h and Standard_math.h which define
+// E.A. : some same symbols : acosh, asinh, ...
+#include <Standard_Real.hxx>
+#include <pymath.h>
 #endif
 
 #include <QItemDelegate>