From: eap Date: Wed, 29 Jun 2016 13:21:36 +0000 (+0300) Subject: Fix compilation after changes in SMESH headers X-Git-Tag: V8_1_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8945624fd7859a352f2e6aa66d8a344f010589eb;p=plugins%2Fghs3dprlplugin.git Fix compilation after changes in SMESH headers --- diff --git a/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx b/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx index 1932836..6db5e04 100755 --- a/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx +++ b/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx @@ -25,8 +25,8 @@ #include "GHS3DPRLPlugin_GHS3DPRL.hxx" #include "GHS3DPRLPlugin_Hypothesis.hxx" -#include -#include +#include +#include #include #include @@ -45,17 +45,16 @@ #define DUMP(txt) #endif -#include -#include -#include - #include + +#include +#include #include #include #include #include -#include -#include +#include +#include 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);