From: isn Date: Tue, 11 Oct 2016 14:27:54 +0000 (+0300) Subject: change def hasher for indexed map X-Git-Tag: v1.6~58^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9a544b2f8f5692d57e7554c304a95aebe6e33e3f;p=modules%2Fhydro.git change def hasher for indexed map --- 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);