Salome HOME
[Bug SMESH4830] bug in instal with gcc 2.95. Bug fixed.
authorjrt <jrt>
Mon, 5 Jan 2004 09:05:43 +0000 (09:05 +0000)
committerjrt <jrt>
Mon, 5 Jan 2004 09:05:43 +0000 (09:05 +0000)
Note: SGI say that <algorithm> is requiered to use set_intersection (see http://www.sgi.com/tech/stl/set_intersection.html).

src/SMDS/SMDS_Mesh.cxx
src/SMESHDS/SMESHDS_Document.cxx

index 07385dc9062eae6641fe131e6a71ea4abaa154fe..ca5172d4ea189edb913ac332e424e4c78f930e2c 100644 (file)
@@ -28,6 +28,9 @@
 #include "SMDS_HexahedronOfNodes.hxx"
 #include "SMDS_FaceOfEdges.hxx"
 
+#include <algorithm>
+using namespace std;
+
 ///////////////////////////////////////////////////////////////////////////////
 /// Create a new mesh object
 ///////////////////////////////////////////////////////////////////////////////
index f5b03b514cc4d2d7b87890a275645b9f47c26d85..1a07cf0ba85909c343eb16dc96b50d4011b4daa4 100644 (file)
@@ -26,9 +26,8 @@
 //  Module : SMESH
 //  $Header: 
 
-using namespace std;
 #include "SMESHDS_Document.hxx"
-#include <utilities.h>
+#include "utilities.h"
 
 //=======================================================================
 //function : Create