From: vsr Date: Tue, 26 Apr 2016 09:21:31 +0000 (+0300) Subject: Remove debug messages in Release mode X-Git-Tag: V7_8_0a2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a06c8afd14dfc314bc1ab9ebc0b89a1c530d47d2;p=modules%2Fsmesh.git Remove debug messages in Release mode --- diff --git a/src/SMESH/memoire.h b/src/SMESH/memoire.h index 51db0552e..c74254408 100644 --- a/src/SMESH/memoire.h +++ b/src/SMESH/memoire.h @@ -38,6 +38,10 @@ void memostat(const char* f, int l) #endif } +#if defined(_DEBUG_) || defined(_DEBUG) #define MEMOSTAT memostat( __FILE__, __LINE__ ) +#else +#define MEMOSTAT +#endif #endif