From b1b2d5de86d13062c29f15bc3fc9d21ff37001af Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Mon, 30 Jul 2012 15:58:05 +0200 Subject: [PATCH] COMP: remove useless typename for non-template class --- Code/BasicFilters/otbVectorDataToLabelImageFilter.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/BasicFilters/otbVectorDataToLabelImageFilter.txx b/Code/BasicFilters/otbVectorDataToLabelImageFilter.txx index 3e80162561..358cfba8c0 100644 --- a/Code/BasicFilters/otbVectorDataToLabelImageFilter.txx +++ b/Code/BasicFilters/otbVectorDataToLabelImageFilter.txx @@ -119,11 +119,11 @@ template <class TVectorData, class TOutputImage> void VectorDataToLabelImageFilter<TVectorData, TOutputImage> ::SetOutputParametersFromImage(const ImageBaseType * src) -{ +{ this->SetOutputOrigin ( src->GetOrigin() ); this->SetOutputSpacing ( src->GetSpacing() ); this->SetOutputSize ( src->GetLargestPossibleRegion().GetSize() ); - typename ImageMetadataInterfaceBase::Pointer imi = ImageMetadataInterfaceFactory::CreateIMI(src->GetMetaDataDictionary()); + ImageMetadataInterfaceBase::Pointer imi = ImageMetadataInterfaceFactory::CreateIMI(src->GetMetaDataDictionary()); this->SetOutputProjectionRef(imi->GetProjectionRef()); } -- GitLab