From 07563c6a42dc5cffb9579c6f54dce560dc1c8e00 Mon Sep 17 00:00:00 2001
From: Otmane Lahlou <otmane.lahlou@c-s.fr>
Date: Mon, 12 Dec 2011 17:06:24 +0100
Subject: [PATCH] ENH: declare the ElevationParametersHandler class as friend
 of the Wrapper::Application class

---
 Code/ApplicationEngine/otbWrapperApplication.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Code/ApplicationEngine/otbWrapperApplication.h b/Code/ApplicationEngine/otbWrapperApplication.h
index 59da079f84..24e28a3281 100644
--- a/Code/ApplicationEngine/otbWrapperApplication.h
+++ b/Code/ApplicationEngine/otbWrapperApplication.h
@@ -728,11 +728,14 @@ private:
   std::vector<std::string> m_DocTags;
 
   /**
-    * Declare the class Wrapper::MapProjectionParametersHandler as friend
-    * to be able to access to the protected method of
+    * Declare the class
+    * - Wrapper::MapProjectionParametersHandler
+    * - Wrapper::ElevationParametersHandler
+    * as friend to be able to access to the protected method of
     * Wrapper::Application class.
     **/
   friend class MapProjectionParametersHandler;
+  friend class ElevationParametersHandler;
 
 }; //end class
 
-- 
GitLab