]> Creatis software - gdcm.git/blobdiff - Testing/TestDicomDir.cxx
*** empty log message ***
[gdcm.git] / Testing / TestDicomDir.cxx
index 5462c9ffe8533a938f552fc13897c6aacf42aee0..a9fceebef3519196c955d3685c428a9187087474 100644 (file)
@@ -51,7 +51,7 @@ int main(int argc, char* argv[])
    else        
       file = "../gdcmData/DICOMDIR";
       
-   e1 = new gdcmDicomDir(file);
+   e1 = new gdcmDicomDir(file.c_str());
        if (argc > 2) {
           int level = atoi(argv[2]);   
           e1->SetPrintLevel(level);
@@ -184,6 +184,7 @@ int main(int argc, char* argv[])
       itPatient ++;    
    }*/
 
+   std::cout<<std::flush;
    delete e1;
 
    return(0);