]> Creatis software - gdcm.git/blobdiff - src/gdcmDebug.h
ENH: Fix a warning with gcc4: TestHash.cxx:20: warning: deprecated conversion from...
[gdcm.git] / src / gdcmDebug.h
index ae3e013fd0e396714635b4b1ac3c2b16cc144aff..67d49f9edf9c002fac2e2be3d32dc8a16add3709 100644 (file)
@@ -3,12 +3,12 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDebug.h,v $
   Language:  C++
-  Date:      $Date: 2004/08/01 02:39:09 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2004/09/27 08:39:05 $
+  Version:   $Revision: 1.7 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
-  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
                                                                                 
      This software is distributed WITHOUT ANY WARRANTY; without even
      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
@@ -21,9 +21,6 @@
 
 #include "gdcmCommon.h"
 
-//-----------------------------------------------------------------------------
-#define dbg gdcmDebug::GetReference()
-
 //-----------------------------------------------------------------------------
 
 /**
@@ -56,8 +53,9 @@ private:
 /// warning message level to be displayed
    int DebugLevel;
 
-/// Instance of debugging utility.
-   static gdcmDebug debug;
 };
 
+/// Instance of debugging utility.
+static gdcmDebug dbg;
+
 #endif