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 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=11f820a2bfe1f68c7cd4aca63c81f24f39e6771e;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