]> Creatis software - gdcm.git/blobdiff - src/gdcmDebug.h
Replace the DEBUG on the stack with a global entry in cmake interface:
[gdcm.git] / src / gdcmDebug.h
index 886e2ec4e5dca24f8f3c4c20749ff4a0c283a6b2..86a2002203cc564cba8308fcc4376a43f0ac895d 100644 (file)
@@ -3,8 +3,6 @@
 #ifndef GDCMDEBUG_H
 #define GDCMDEBUG_H
 
-#define GDCM_DEBUG -1
-
 /**
  * \ingroup gdcmDebug
  * \brief gdcmDebug is an object for debugging in program.
@@ -18,7 +16,7 @@
  */
 class gdcmDebug {
 public:
-   gdcmDebug(int level = GDCM_DEBUG);
+   gdcmDebug(int level = -1);
 
    void SetDebug (int level);
    void Verbose(int, const char*, const char* ="");