X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirStudy.cxx;h=8975dabdb0d4b825e69296f6aa358bba45aa75d4;hb=4976cfdaa3bb61e01e7ad0a2382d7e9622918acd;hp=058879eec7b5786f32e60c76a0c5d5536a62c9df;hpb=48266ecf995a124f3d76edb1826ff9e858b5ee40;p=gdcm.git diff --git a/src/gdcmDicomDirStudy.cxx b/src/gdcmDicomDirStudy.cxx index 058879ee..8975dabd 100644 --- a/src/gdcmDicomDirStudy.cxx +++ b/src/gdcmDicomDirStudy.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirStudy.cxx,v $ Language: C++ - Date: $Date: 2005/01/25 11:11:58 $ - Version: $Revision: 1.31 $ + Date: $Date: 2005/01/25 15:44:23 $ + Version: $Revision: 1.32 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -135,11 +135,10 @@ DicomDirSerie *DicomDirStudy::GetFirstSerie() DicomDirSerie *DicomDirStudy::GetNextSerie() { gdcmAssertMacro (ItSerie != Series.end()); - { - ++ItSerie; - if (ItSerie != Series.end()) - return *ItSerie; - } + + ++ItSerie; + if (ItSerie != Series.end()) + return *ItSerie; return NULL; }