From d44840c09bdc1fa7ccfbda47e53ea7066b900385 Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Wed, 5 Apr 2017 11:52:28 +0200
Subject: [PATCH] REFAC: remove deprecated function in
 WrapperCommandLineLauncher

---
 .../CommandLine/include/otbWrapperCommandLineLauncher.h    | 6 ------
 .../CommandLine/src/otbWrapperCommandLineLauncher.cxx      | 7 -------
 2 files changed, 13 deletions(-)

diff --git a/Modules/Wrappers/CommandLine/include/otbWrapperCommandLineLauncher.h b/Modules/Wrappers/CommandLine/include/otbWrapperCommandLineLauncher.h
index 06220687cf..36b0b0de53 100644
--- a/Modules/Wrappers/CommandLine/include/otbWrapperCommandLineLauncher.h
+++ b/Modules/Wrappers/CommandLine/include/otbWrapperCommandLineLauncher.h
@@ -118,12 +118,6 @@ protected:
   /** Constructor */
   CommandLineLauncher();
 
-  /** \deprecated
-   * Constructor with exp argument is deprecated because class
-   * CommandLineLauncher does not have expression attribute anymore. Use instead the
-   * default constructor. It is included for backwards compatibility. */
-  CommandLineLauncher(const char * exp);
-
   /** Destructor */
   ~CommandLineLauncher() ITK_OVERRIDE;
 
diff --git a/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx b/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx
index 0ad102b08e..f25b914587 100644
--- a/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx
+++ b/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx
@@ -67,13 +67,6 @@ CommandLineLauncher::CommandLineLauncher() :
   m_AddProcessCommand->SetCallbackFunction(this, &CommandLineLauncher::LinkWatchers);
 }
 
-CommandLineLauncher::CommandLineLauncher(const char *) /*:
-  m_Expression(exp)*/
-{
-  m_Application = ITK_NULLPTR;
-  m_Parser = CommandLineParser::New();
-}
-
 CommandLineLauncher::~CommandLineLauncher()
 {
   this->DeleteWatcherList();
-- 
GitLab