]> Creatis software - gdcm.git/blobdiff - Testing/TestDirList.cxx
Fix mistypings
[gdcm.git] / Testing / TestDirList.cxx
index 6d109a73b070e433923f55aebc8ca705883793d6..8cb3b808fb69b55dc5377c458df2a5ce90a7d112 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestDirList.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/14 21:52:05 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2007/06/21 14:59:06 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 =========================================================================*/
 #include "gdcmDirList.h"
 
-int TestDirList(int , char[])
+int TestDirList(int , char *[])
 {  
    std::string path = GDCM_DATA_ROOT;
    std::cerr << path << std::endl;
 
-   gdcm::DirList list(path);
+   GDCM_NAME_SPACE::DirList list(path, true);
    list.Print();
 
    return 0;