From 08be4e224cbfbbe74d3a7555755db38106d294c8 Mon Sep 17 00:00:00 2001
From: Manuel Grizonnet <manuel.grizonnet@orfeo-toolbox.org>
Date: Thu, 20 Oct 2011 18:36:32 +0200
Subject: [PATCH] WRG:attributes initialization in the right order

---
 Code/ApplicationEngine/otbWrapperParameter.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/ApplicationEngine/otbWrapperParameter.h b/Code/ApplicationEngine/otbWrapperParameter.h
index 8e9a1aa696..5d9253a7b4 100644
--- a/Code/ApplicationEngine/otbWrapperParameter.h
+++ b/Code/ApplicationEngine/otbWrapperParameter.h
@@ -214,10 +214,10 @@ protected:
                 m_Mandatory(true),
                 m_Active(false),
                 m_UserValue(false),
+		m_AutomaticValue(false),
                 m_DefaultValueMode(DefaultValueMode_UNKNOWN),
                 m_UserLevel(UserLevel_Basic),
                 m_Role(Role_Input),
-                m_AutomaticValue(false),
                 m_IsChecked(false)
   {}
 
-- 
GitLab