]> Creatis software - gdcm.git/commitdiff
Fix &reference syntax pb Version0.4
authorjpr <jpr>
Fri, 6 Feb 2004 11:47:12 +0000 (11:47 +0000)
committerjpr <jpr>
Fri, 6 Feb 2004 11:47:12 +0000 (11:47 +0000)
src/gdcmDicomDir.cxx

index 44b8c68e0aed7c521c32d0a529a3a896dfe07338..aedfc412f0a6d996d141206ae62d8f048e758855 100644 (file)
@@ -151,7 +151,8 @@ void gdcmDicomDir::NewDicomDir(std::string path)
 
    std::sort(list.begin(),list.end(),gdcmDicomDir::HeaderLessThan);
 
-   SetElements(fileList.GetDirName(),list);
+   std::string tmp=fileList.GetDirName();
+   SetElements(tmp,list);
 }
 
 /*