]> Creatis software - gdcm.git/blobdiff - Example/TestFromScratch.cxx
ENH: Change the gdcmDebug approach. Remov the global static debug 'dbg'. And now...
[gdcm.git] / Example / TestFromScratch.cxx
index 35851cde2698a7df0c980f2ac1f26fdc7f690b7d..f7293996266db4a8de47fe44fd322591a0dccbcd 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestFromScratch.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/05 15:38:28 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2005/01/07 16:26:11 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
    }
 
    // Doesn't seems to do anything:
-   dbg.SetDebug(-1);
+   gdcm::Debug::SetDebugLevel(-1);
    // Doesn't link properly:
    //gdcm::Debug::GetReference().SetDebug(1);