X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FDriver%2FDriver_Mesh.cxx;h=2f25a04f0b6725240e20bd094bbbd2c6e8775f8c;hp=9552c7469c4a89613ab6ced488dcdb259d1dce4d;hb=HEAD;hpb=96b56d1ee6cac6144b4cb376187ec7c21be4ae51 diff --git a/src/Driver/Driver_Mesh.cxx b/src/Driver/Driver_Mesh.cxx index 9552c7469..b1f430626 100644 --- a/src/Driver/Driver_Mesh.cxx +++ b/src/Driver/Driver_Mesh.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -28,7 +28,6 @@ #include "SMESH_Comment.hxx" -//#define _DEBUG_ #include using namespace std; @@ -79,9 +78,7 @@ Driver_Mesh::Status Driver_Mesh::addMessage(const std::string& msg, myErrorMessages.push_back( msg ); MESSAGE(msg); -#ifdef _DEBUG_ - cout << msg << endl; -#endif + return ( myStatus = isFatal ? DRS_FAIL : DRS_WARN_SKIP_ELEM ); }