[Insight-users] DICOMParser compilationerror with Sun Forte Studio One
Luis Ibanez
luis.ibanez@kitware.com
Tue, 05 Nov 2002 08:31:30 -0500
Hi Martin,
Done !
Thanks for pointing this out.
Luis
================================
Martin Styner wrote:
> Hi
> I have found an error in DICOMParser.cxx. Here is the error:
>
> "/opt/tools/itk/Insight_Nightly/Insight/Utilities/DICOMParser/DICOMParser.cxx",
> line 254: Error: Cannot use std::pair<const DICOMMapKey, DICOMMapValue>
> to initialize std::pair<DICOMMapKey, DICOMMapValue>.
>
> The correction is quite simple. Here is my diff, can someone check this
> change in ?
>
> Index: Utilities/DICOMParser/DICOMParser.cxx
> ===================================================================
> RCS file: /cvsroot/Insight/Insight/Utilities/DICOMParser/DICOMParser.cxx,v
> retrieving revision 1.1
> diff -r1.1 DICOMParser.cxx
> 254c254
> < std::pair<DICOMMapKey,DICOMMapValue> p = *iter;
> ---
> > std::pair<const DICOMMapKey,DICOMMapValue> p = *iter;
>
> Regards
> Martin
>