From 84573a08ef3e4a0aa9893824cd32b02e68d6bc2c Mon Sep 17 00:00:00 2001 From: dmv Date: Tue, 30 Dec 2008 14:22:40 +0000 Subject: [PATCH] 0020062: [CEA 295] Type coherence in *.i files --- src/DriverUNV/UNV_Utilities.hxx | 1 + src/MEFISTO2/aptrte.h | 6 +++--- src/SMESH/SMESH_Mesh.cxx | 1 + src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/DriverUNV/UNV_Utilities.hxx b/src/DriverUNV/UNV_Utilities.hxx index 0707c8e62..e53f75d95 100644 --- a/src/DriverUNV/UNV_Utilities.hxx +++ b/src/DriverUNV/UNV_Utilities.hxx @@ -30,6 +30,7 @@ #include #include #include +#include namespace UNV{ using namespace std; diff --git a/src/MEFISTO2/aptrte.h b/src/MEFISTO2/aptrte.h index ab407ec89..68fb0e63a 100755 --- a/src/MEFISTO2/aptrte.h +++ b/src/MEFISTO2/aptrte.h @@ -28,14 +28,14 @@ #ifndef aptrte__h #define aptrte__h -#include // limites min max int long real ... +#include // limites min max int long real ... #ifndef WIN32 #include // gethostname, ... #endif #include #ifndef WIN32 -#include // pour cout cin ... -#include // pour le format des io setw, stx, setfill, ... +#include // pour cout cin ... +#include // pour le format des io setw, stx, setfill, ... #endif #include // pour les fonctions sur les chaines de caracteres #include diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 4f2110a35..4479c7de8 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -49,6 +49,7 @@ #include "DriverUNV_R_SMDS_Mesh.h" #include "DriverSTL_R_SMDS_Mesh.h" +#undef _Precision_HeaderFile #include #include #include diff --git a/src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx b/src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx index a87981724..1c3106e73 100644 --- a/src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx @@ -90,7 +90,7 @@ namespace SMESH { - void ReverseConnectivity( std::vector & ids, int type ) + void ReverseConnectivity( std::vector & ids, int type ) { // for reverse connectivity of other types keeping the first id, see // void SMESH_VisualObjDef::buildElemPrs() in SMESH_Object.cxx:900 @@ -138,7 +138,7 @@ namespace SMESH reverse( ids.begin(), ids.end() ); } else { - std::vector aRevIds( ids.size() ); + std::vector aRevIds( ids.size() ); for ( int i = 0; i < ids.size(); i++) aRevIds[ i ] = ids[ conn[ i ]]; ids = aRevIds; @@ -666,7 +666,7 @@ void SMESHGUI_AddQuadraticElementDlg::ClickOnApply() BusyLocker lock( myBusy ); - std::vector anIds; + std::vector anIds; switch (myType) { case QUAD_EDGE: -- 2.39.2