diff --git a/Modules/Wrappers/CommandLine/include/otbWrapperCommandLineLauncher.h b/Modules/Wrappers/CommandLine/include/otbWrapperCommandLineLauncher.h index 5bcf47e04cc18ee678818681c7ac473f9a89cce2..26203558e19aefc4cb1bc8674f86603d1b76de19 100644 --- a/Modules/Wrappers/CommandLine/include/otbWrapperCommandLineLauncher.h +++ b/Modules/Wrappers/CommandLine/include/otbWrapperCommandLineLauncher.h @@ -82,14 +82,8 @@ public: * - Load the application using the ApplicationRegistry */ bool Load(); - - /** \deprecated - * Load 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. */ - bool Load( const std::string & exp ); - /** same as Load method but set the expression before. */ + /** same as Load method but set the expression before. */ bool Load(const std::vector<std::string> &vexp); /** Launch the process, using the Execute application method diff --git a/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx b/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx index 848664fa36e2612d52f3c54e4e7b5ebaffca954e..4b73e713dc61baa397a59adf9e4e864afe6ce560 100644 --- a/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx +++ b/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx @@ -86,12 +86,6 @@ void CommandLineLauncher::DeleteWatcherList() m_WatcherList.clear(); } -bool CommandLineLauncher::Load(const std::string &) -{ - /*m_Expression = exp; - return this->Load(); */ - return false; -} bool CommandLineLauncher::Load(const std::vector<std::string> &vexp) {