Salome HOME
Fix for bug IPAL9248(3.0.0: SIGSEGV after calling operation with group if OCC Viewer...
[modules/smesh.git] / src / SMDS / SMDS_MeshElement.cxx
index 14c0af4b54667b048204f24d98da91b257a9b157..8d4d9b75dc2e0bb913603c73ac5a5fefb72f9887 100644 (file)
 // 
 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
 
+#ifdef _MSC_VER
+#pragma warning(disable:4786)
+#endif
+
 #include "SMDS_MeshElement.hxx"
 #include "SMDS_MeshNode.hxx"
 #include "SMDS_MeshEdge.hxx"
@@ -26,6 +30,8 @@
 #include "SMDS_MeshVolume.hxx"
 #include "utilities.h"
 
+using namespace std;
+
 SMDS_MeshElement::SMDS_MeshElement(int ID):myID(ID)
 {
 }
@@ -184,4 +190,5 @@ bool operator<(const SMDS_MeshElement& e1, const SMDS_MeshElement& e2)
 
        default : MESSAGE("Internal Error");
        }
+        return false;
 }