From 9a544b2f8f5692d57e7554c304a95aebe6e33e3f Mon Sep 17 00:00:00 2001 From: isn Date: Tue, 11 Oct 2016 17:27:54 +0300 Subject: [PATCH] change def hasher for indexed map --- src/HYDROData/HYDROData_CalculationCase.cxx | 2 +- src/HYDROData/HYDROData_GeomTool.cxx | 2 +- src/HYDROData/HYDROData_GeomTool.h | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/HYDROData/HYDROData_CalculationCase.cxx b/src/HYDROData/HYDROData_CalculationCase.cxx index 633e063a..a66a0212 100644 --- a/src/HYDROData/HYDROData_CalculationCase.cxx +++ b/src/HYDROData/HYDROData_CalculationCase.cxx @@ -1156,7 +1156,7 @@ bool HYDROData_CalculationCase::Export( GEOM::GEOM_Gen_var aSewing.Perform(); TopoDS_Shape aSewedShape = aSewing.SewedShape(); - NCollection_IndexedDataMap aFacesToNameModif; + NCollection_IndexedDataMap aFacesToNameModif; for ( int i = 1; i <= aFacesToName.Extent(); i++ ) { diff --git a/src/HYDROData/HYDROData_GeomTool.cxx b/src/HYDROData/HYDROData_GeomTool.cxx index 8423f6d3..45add501 100644 --- a/src/HYDROData/HYDROData_GeomTool.cxx +++ b/src/HYDROData/HYDROData_GeomTool.cxx @@ -164,7 +164,7 @@ GEOM::GEOM_Object_ptr HYDROData_GeomTool::publishShapeInGEOM( GEOM::GEOM_Object_ptr HYDROData_GeomTool::ExplodeShapeInGEOMandPublish( GEOM::GEOM_Gen_var theGeomEngine, SALOMEDS::Study_ptr theStudy, const TopoDS_Shape& theShape, - const NCollection_IndexedDataMap& aFacesToNameModif, + const NCollection_IndexedDataMap& aFacesToNameModif, const QString& theName, QString& theGeomObjEntry) { diff --git a/src/HYDROData/HYDROData_GeomTool.h b/src/HYDROData/HYDROData_GeomTool.h index 2ffa63cf..ab84b701 100644 --- a/src/HYDROData/HYDROData_GeomTool.h +++ b/src/HYDROData/HYDROData_GeomTool.h @@ -21,6 +21,7 @@ #include "HYDROData.h" #include +#include #ifdef WIN32 #pragma warning ( disable: 4251 ) @@ -117,7 +118,7 @@ public: static GEOM::GEOM_Object_ptr ExplodeShapeInGEOMandPublish( GEOM::GEOM_Gen_var theGeomEngine, SALOMEDS::Study_ptr theStudy, const TopoDS_Shape& theShape, - const NCollection_IndexedDataMap& aFacesToNameModif, + const NCollection_IndexedDataMap& aFacesToNameModif, const QString& theName, QString& theGeomObjEntry); -- 2.39.2