From: jpr Date: Wed, 14 May 2008 07:48:52 +0000 (+0000) Subject: Fix previous commit :-( X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b45dd31a55773c0c1fb0d69cfb3715d1c882674f;p=gdcm.git Fix previous commit :-( --- diff --git a/src/gdcmSerieHelper.cxx b/src/gdcmSerieHelper.cxx index d3790903..fc0f2135 100644 --- a/src/gdcmSerieHelper.cxx +++ b/src/gdcmSerieHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHelper.cxx,v $ Language: C++ - Date: $Date: 2008/05/13 08:02:59 $ - Version: $Revision: 1.68 $ + Date: $Date: 2008/05/14 07:48:52 $ + Version: $Revision: 1.69 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -818,7 +818,7 @@ bool SerieHelper::ImagePositionPatientOrdering( FileList *fileList ) //it4 = distmultimap.lower_bound((*it4).first); // David Feng's fix - itPrev = it4; + std::multimap::const_iterator itPrev = it4; while (itPrev->first == it4->first) --itPrev; it4 = itPrev;