From: ageay Date: Fri, 26 Aug 2005 13:43:00 +0000 (+0000) Subject: Modifications to avoid clients to add compulsary lines of code for trace. X-Git-Tag: V3_0_3a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9d0eb4627147fb37aef6f5e135295058b717cee0;p=modules%2Fmed.git Modifications to avoid clients to add compulsary lines of code for trace. --- diff --git a/src/MEDMEM_SWIG/libMEDMEM_Swig.i b/src/MEDMEM_SWIG/libMEDMEM_Swig.i index 6c6c5e542..65204a0eb 100644 --- a/src/MEDMEM_SWIG/libMEDMEM_Swig.i +++ b/src/MEDMEM_SWIG/libMEDMEM_Swig.i @@ -36,10 +36,6 @@ #include "MEDMEM_DriverFactory.hxx" #include "MEDMEM_SWIG_Templates.hxx" -#ifdef _DEBUG_ -#include "LocalTraceCollector.hxx" -#endif /* ifdef _DEBUG_*/ - using namespace MEDMEM; using namespace MED_EN; %} @@ -64,17 +60,6 @@ } } -/* - Initialisation block in the case of the debug mode (definition of _DEBUG_ - compilation switch) and due to the LocalTraceCollector mechanism -*/ - -%init %{ -#ifdef _DEBUG_ - LocalTraceCollector::instance(); -#endif /* ifdef _DEBUG_*/ -%} - /* managing the use of operator= of any class by renaming it assign() because assignment can't be overloaded in python.