From ce45e2120187e3046591ec0ab981b0e8be32a0fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr>
Date: Tue, 24 Mar 2020 14:18:23 +0100
Subject: [PATCH] ENH: replace typedef with using in PantexTextureExtraction

---
 .../app/otbPantexTextureExtraction.cxx           | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/Modules/Applications/AppTextures/app/otbPantexTextureExtraction.cxx b/Modules/Applications/AppTextures/app/otbPantexTextureExtraction.cxx
index 6052db8fb7..78f7c0af57 100644
--- a/Modules/Applications/AppTextures/app/otbPantexTextureExtraction.cxx
+++ b/Modules/Applications/AppTextures/app/otbPantexTextureExtraction.cxx
@@ -37,10 +37,10 @@ public:
   /** @name Standard class typedefs
    * @{
    */
-  typedef PantexTextureExtraction       Self;
-  typedef Application                   Superclass;
-  typedef itk::SmartPointer<Self>       Pointer;
-  typedef itk::SmartPointer<const Self> ConstPointer;
+  using Self = PantexTextureExtraction;
+  using Superclass = Application;
+  using Pointer = itk::SmartPointer<Self>;
+  using ConstPointer = itk::SmartPointer<const Self>;
   /** @} */
 
   /** @name Standard macro
@@ -50,10 +50,10 @@ public:
   itkTypeMacro(PantexTextureExtraction, otb::Application);
   /** @} */
 
-  typedef otb::MultiToMonoChannelExtractROI<FloatVectorImageType::InternalPixelType, FloatVectorImageType::InternalPixelType> 
-            ExtractorFilterType;
-  typedef otb::ScalarImageToPanTexTextureFilter<FloatImageType, FloatImageType> PanTexTextureFilterType;
-  typedef otb::StreamingMinMaxImageFilter<FloatImageType> MinMaxImageFilterType;
+  using ExtractorFilterType =
+    otb::MultiToMonoChannelExtractROI<FloatVectorImageType::InternalPixelType, FloatVectorImageType::InternalPixelType>;
+  using PanTexTextureFilterType = otb::ScalarImageToPanTexTextureFilter<FloatImageType, FloatImageType>;
+  using MinMaxImageFilterType = otb::StreamingMinMaxImageFilter<FloatImageType>;
 
 private:
   void DoInit() override
-- 
GitLab