From: prascle Date: Wed, 19 Dec 2012 16:31:35 +0000 (+0000) Subject: PR: fix previous commit X-Git-Tag: pluginMGCleaner~220 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2af758c692b3068f5b13b7346d039630794f666a;p=modules%2Fsmesh.git PR: fix previous commit --- diff --git a/src/SMESHUtils/SMESH_TryCatch.cxx b/src/SMESHUtils/SMESH_TryCatch.cxx index 3a1da1885..78808cf1c 100644 --- a/src/SMESHUtils/SMESH_TryCatch.cxx +++ b/src/SMESHUtils/SMESH_TryCatch.cxx @@ -21,14 +21,12 @@ #include "SMESH_TryCatch.hxx" -using namespace SMESH; - -void throwSalomeEx(const char* txt) +void SMESH::throwSalomeEx(const char* txt) { throw SALOME_Exception( txt ); } -inline void doNothing(const char* txt) +void SMESH::doNothing(const char* txt) { MESSAGE( txt << " " << __FILE__ << ": " << __LINE__ ); } diff --git a/src/SMESHUtils/SMESH_TryCatch.hxx b/src/SMESHUtils/SMESH_TryCatch.hxx index f8e2fe2ad..8f1746c83 100644 --- a/src/SMESHUtils/SMESH_TryCatch.hxx +++ b/src/SMESHUtils/SMESH_TryCatch.hxx @@ -103,7 +103,7 @@ namespace SMESH { void throwSalomeEx(const char* txt); - inline void doNothing(const char* txt); + void doNothing(const char* txt); } #endif