Salome HOME
Revert "Corrections for compilation on other OS"
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i.cxx
index 6c0face11b2c79c6d883426c12db6c4f10eea34a..8f57c6c1bc803c00701b53c06044785c6a7621e6 100644 (file)
@@ -2907,7 +2907,7 @@ SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateDualMesh(SMESH::SMESH_IDSource_ptr mesh
     SetName( meshSO, meshName, meshName );
     SetPixMap( meshSO, "ICON_SMESH_TREE_MESH_IMPORTED");
   }
-  int ret = newMesh_i->ImportMEDFile(dual_mesh_file.c_str(), meshName);
+  int ret = newMesh_i->ImportMEDFile(dual_mesh_file.string().c_str(), meshName);
   if(ret)
     THROW_SALOME_CORBA_EXCEPTION( "Issue when importing mesh", SALOME::INTERNAL_ERROR );
 
@@ -6645,8 +6645,6 @@ CORBA::Boolean SMESH_Gen_i::IsApplicable ( const char*           theAlgoType,
 
   SMESH_CATCH( SMESH::doNothing );
 
-#ifdef _DEBUG_
-  cout << "SMESH_Gen_i::IsApplicable(): exception in " << ( theAlgoType ? theAlgoType : "") << endl;
-#endif
+  MESSAGE("SMESH_Gen_i::IsApplicable(): exception in " << ( theAlgoType ? theAlgoType : ""));
   return true;
 }