From 9d0eb4627147fb37aef6f5e135295058b717cee0 Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 26 Aug 2005 13:43:00 +0000 Subject: [PATCH] Modifications to avoid clients to add compulsary lines of code for trace. --- src/MEDMEM_SWIG/libMEDMEM_Swig.i | 15 --------------- 1 file changed, 15 deletions(-) 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. -- 2.39.2