X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHDS%2FSMESHDS_Mesh.hxx;h=2f37661552a6880c875495934e9f94f48f90bf0b;hb=7b70ad87bf8f5c46b2751f94cd196932b9ae7122;hp=ce7d49a87f7bec0f7439167d4a2a2f39d545f948;hpb=f7fbf1c62246f439c35746c731f64dab57391c1b;p=modules%2Fsmesh.git diff --git a/src/SMESHDS/SMESHDS_Mesh.hxx b/src/SMESHDS/SMESHDS_Mesh.hxx index ce7d49a87..2f3766155 100644 --- a/src/SMESHDS/SMESHDS_Mesh.hxx +++ b/src/SMESHDS/SMESHDS_Mesh.hxx @@ -42,9 +42,16 @@ #include #include #include + //Not portable see http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#5_4 to know more. -#include -using namespace __gnu_cxx; +#ifdef __GNUC__ +#if __GNUC__ < 3 + #include +#else + #include + using namespace __gnu_cxx; +#endif +#endif using namespace std; @@ -126,7 +133,8 @@ class SMESHDS_Mesh:public SMDS_Mesh void SetNodeOnVertex(SMDS_MeshNode * aNode, int Index); void SetMeshElementOnShape(const SMDS_MeshElement * anElt, int Index); ~SMESHDS_Mesh(); - + void logFullUpdate(); + private: struct HashTopoDS_Shape {