]> SALOME platform Git repositories - plugins/ghs3dprlplugin.git/commitdiff
Salome HOME
Fix compilation after changes in SMESH headers V8_1_0a1
authoreap <eap@opencascade.com>
Wed, 29 Jun 2016 13:21:36 +0000 (16:21 +0300)
committereap <eap@opencascade.com>
Wed, 29 Jun 2016 13:21:36 +0000 (16:21 +0300)
src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx

index 1932836d7fce85a3f7d7e94b910392613758a11e..6db5e048d2a6c6ae04545b2738afef5add5b3ad4 100755 (executable)
@@ -25,8 +25,8 @@
 #include "GHS3DPRLPlugin_GHS3DPRL.hxx"
 #include "GHS3DPRLPlugin_Hypothesis.hxx"
 
-#include <SMDS_MeshElement.hxx>
-#include <SMDS_MeshNode.hxx>
+#include <SMESHDS_Mesh.hxx>
+#include <SMESH_Gen.hxx>
 #include <SMESH_subMesh.hxx>
 
 #include <TopExp_Explorer.hxx>
 #define DUMP(txt)
 #endif
 
-#include <SMESH_Gen.hxx>
-#include <SMESHDS_Mesh.hxx>
-#include <SMESH_ControlsDef.hxx>
-
 #include <list>
+
+#include <BRepGProp.hxx>
+#include <GProp_GProps.hxx>
 #include <Standard_ProgramError.hxx>
 #include <TCollection_AsciiString.hxx>
 #include <TopTools_MapOfShape.hxx>
 #include <TopoDS.hxx>
-#include <BRepGProp.hxx>
-#include <GProp_GProps.hxx>
+#include <TopoDS_Edge.hxx>
+#include <TopoDS_Face.hxx>
 
 using namespace std;
 
@@ -497,7 +496,7 @@ bool GHS3DPRLPlugin_GHS3DPRL::Evaluate(SMESH_Mesh& aMesh,
   bool IsFirst = true;
   TopTools_MapOfShape tmpMap;
   for (TopExp_Explorer exp(aShape, TopAbs_EDGE); exp.More(); exp.Next()) {
-    TopoDS_Edge E = TopoDS::Edge(exp.Current());
+    const TopoDS_Edge& E = TopoDS::Edge(exp.Current());
     if( tmpMap.Contains(E) )
       continue;
     tmpMap.Add(E);