diff --git a/Modules/Wrappers/CommandLine/include/otbWrapperCommandLineLauncher.h b/Modules/Wrappers/CommandLine/include/otbWrapperCommandLineLauncher.h index 06220687cf0d516c974a31c6556e31334e70f926..36b0b0de538b3e8362eb558f66186557c662a317 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 0ad102b08e36b3d72de28354d8f90a99e78061e8..f25b914587791a67a54460821c1fdb14817bd4e2 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();