From: Simon Rit Date: Tue, 14 Feb 2012 08:30:36 +0000 (+0100) Subject: Removed typename outside template which prevents MSVC compilation X-Git-Tag: v1.3.0~98^2~2 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6808027e48645d72771bbb0e342e8be47dd0ea92;p=clitk.git Removed typename outside template which prevents MSVC compilation --- diff --git a/registration/clitkConvertBSplineDeformableTransformToVFGenericFilter.cxx b/registration/clitkConvertBSplineDeformableTransformToVFGenericFilter.cxx index d0e1fa7..1536ff6 100644 --- a/registration/clitkConvertBSplineDeformableTransformToVFGenericFilter.cxx +++ b/registration/clitkConvertBSplineDeformableTransformToVFGenericFilter.cxx @@ -75,7 +75,7 @@ namespace clitk typedef itk::Image OutputImageType; typedef ConvertBLUTCoeffsToVFFilter FilterType; - typename FilterType::Pointer filter = FilterType::New(); + FilterType::Pointer filter = FilterType::New(); filter->SetInputFileName(m_InputFileName); filter->SetTransformType(m_ArgsInfo.type_arg); filter->SetVerbose(m_ArgsInfo.verbose_flag); @@ -84,9 +84,9 @@ namespace clitk filter->SetLikeFileName(m_ArgsInfo.like_arg); } else { - typename FilterType::OutputImagePointType origin; - typename FilterType::OutputImageSpacingType spacing; - typename FilterType::OutputImageSizeType size; + FilterType::OutputImagePointType origin; + FilterType::OutputImageSpacingType spacing; + FilterType::OutputImageSizeType size; for (unsigned int i = 0; i < Dimension; i++) { origin[i] = m_ArgsInfo.origin_arg[i]; spacing[i] = m_ArgsInfo.spacing_arg[i]; @@ -98,7 +98,7 @@ namespace clitk } if (m_ArgsInfo.order_given) { - typename FilterType::OutputImageSizeType order; + FilterType::OutputImageSizeType order; for (unsigned int i = 0; i < Dimension; i++) { order[i] = m_ArgsInfo.order_arg[i]; }