]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESHUtils/SMESH_TryCatch.hxx
Salome HOME
PR: compilation problem on ubuntu 12.04
[modules/smesh.git] / src / SMESHUtils / SMESH_TryCatch.hxx
index 838d98ae4bb2a03e99250ff4fb165dcb7546f1d1..f8e2fe2ada066905eaf5ea5507dde199fd49390b 100644 (file)
 
 //-------------------------------------------------------------------------------------
 // Functions that can be used as an argument of SMESH_CATCH
+
 namespace SMESH
 {
-  void throwSalomeEx(const char* txt)
-  {
-    throw SALOME_Exception( txt );
-  }
-
-  inline void doNothing(const char* txt)
-  {
-    MESSAGE( txt << " " << __FILE__ << ": " << __LINE__ );
-  }
+  void throwSalomeEx(const char* txt);
+  inline void doNothing(const char* txt);
 }
 
 #endif