From 4e7a4044db62608ee8ae9fe0dc737a641d88bc23 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 29 Jun 2016 16:21:36 +0300 Subject: [PATCH] Fix compilation after changes in SMESH headers --- src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) 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); -- 2.39.2