From b31218db4cacfe66b1248ddfa323785844b90e51 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 12 Oct 2018 13:38:47 +0300 Subject: [PATCH] Fix compilation error in DEBUG mode --- .../SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx b/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx index 787d8d5fd..0272b7750 100644 --- a/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx +++ b/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx @@ -66,7 +66,7 @@ const int DEFAULT_GROUP = 40; QMutex myInitMutex; /*! DEBUG mode */ -const bool DEBUG = false; +const bool theDEBUG = false; /*! \var IsCallOldMethods @@ -168,17 +168,17 @@ public: FuncMsg( const QString& funcName ) { myName = funcName; - if ( DEBUG ) + if ( theDEBUG ) MESSAGE( qPrintable( myName ) << " [ begin ]" ); } ~FuncMsg() { - if ( DEBUG ) + if ( theDEBUG ) MESSAGE( qPrintable( myName ) << " [ end ]" ); } void message( const QString& msg ) { - if ( DEBUG ) + if ( theDEBUG ) MESSAGE( qPrintable( myName ) << " : " << qPrintable( msg ) ); } private: -- 2.39.2