From: vsr Date: Thu, 12 Dec 2013 10:11:39 +0000 (+0000) Subject: Avoid debug messages in Release mode X-Git-Tag: V7_3_0~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b140a0b8255d1315e505d21fdf10de93634844fb;p=modules%2Fkernel.git Avoid debug messages in Release mode --- diff --git a/src/Basics/Basics_Utils.hxx b/src/Basics/Basics_Utils.hxx index 80f2f5ed9..15778758c 100644 --- a/src/Basics/Basics_Utils.hxx +++ b/src/Basics/Basics_Utils.hxx @@ -128,7 +128,12 @@ double ToDouble(const T &arg) { // Simple Logger macros (no dependency with SALOME) // ============================================================= // +#if defined(_DEBUG_) || defined(_DEBUG) #define STDLOG(msg) {std::cerr<