From 46932bb0ecb56022d0299621a1f7976f1290bcb2 Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Thu, 14 Dec 2017 10:26:19 +0100
Subject: [PATCH] BUG: add typename before dependent using declaration resolved
 to type

---
 Modules/Core/ImageBase/include/otbDefaultConvertPixelTraits.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/Core/ImageBase/include/otbDefaultConvertPixelTraits.h b/Modules/Core/ImageBase/include/otbDefaultConvertPixelTraits.h
index 29ed2b3fee..1cfdd2bf16 100644
--- a/Modules/Core/ImageBase/include/otbDefaultConvertPixelTraits.h
+++ b/Modules/Core/ImageBase/include/otbDefaultConvertPixelTraits.h
@@ -36,7 +36,7 @@ class DefaultConvertPixelTraits
 {
 public:
   typedef itk::DefaultConvertPixelTraits < PixelType > SuperClass;
-  using SuperClass::ComponentType;
+  using typename SuperClass::ComponentType;
 
   using SuperClass::SetNthComponent;
 
-- 
GitLab