From 0c0ac256f83086fee45b3b78dca020cd9f2abab9 Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@orfeo-toolbox.org> Date: Mon, 23 Feb 2015 16:06:46 +0100 Subject: [PATCH] WRG: Fixing shadowed typedef declaration warning --- .../Applications/AppFusion/app/otbBundleToPerfectSensor.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx b/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx index a1e8a2fa41..8084eba9d7 100644 --- a/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx +++ b/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx @@ -120,7 +120,7 @@ private: } // Transform the PAN image to otb::Image - typedef otb::Image<FloatVectorImageType::InternalPixelType> FloatImageType; + typedef otb::Image<FloatVectorImageType::InternalPixelType> InternalImageType; typedef otb::MultiToMonoChannelExtractROI<float,float> ExtractFilterType; ExtractFilterType::Pointer channelSelect = ExtractFilterType::New(); @@ -128,12 +128,12 @@ private: channelSelect->SetChannel(1); channelSelect->SetInput(panchroV); channelSelect->UpdateOutputInformation(); - FloatImageType::Pointer panchro = channelSelect->GetOutput(); + InternalImageType::Pointer panchro = channelSelect->GetOutput(); typedef otb::BCOInterpolateImageFunction<FloatVectorImageType> InterpolatorType; typedef otb::GenericRSResampleImageFilter<FloatVectorImageType, FloatVectorImageType> ResamplerType; typedef otb::StreamingResampleImageFilter<FloatVectorImageType, FloatVectorImageType> BasicResamplerType; - typedef otb::SimpleRcsPanSharpeningFusionImageFilter<FloatImageType, FloatVectorImageType, FloatVectorImageType> FusionFilterType; + typedef otb::SimpleRcsPanSharpeningFusionImageFilter<InternalImageType, FloatVectorImageType, FloatVectorImageType> FusionFilterType; // Resample filter ResamplerType::Pointer resampler = ResamplerType::New(); -- GitLab