From a06c8afd14dfc314bc1ab9ebc0b89a1c530d47d2 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 26 Apr 2016 12:21:31 +0300 Subject: [PATCH] Remove debug messages in Release mode --- src/SMESH/memoire.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2