From 1a066c1d42b6337948e20bbc098f56e3122727bc Mon Sep 17 00:00:00 2001 From: mes5k Date: Mon, 15 May 2006 00:36:36 +0000 Subject: [PATCH] removed a deprecated constructor --- include/tclap/CmdLine.h | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/include/tclap/CmdLine.h b/include/tclap/CmdLine.h index ae8684d..49774d7 100644 --- a/include/tclap/CmdLine.h +++ b/include/tclap/CmdLine.h @@ -153,20 +153,6 @@ class CmdLine : public CmdLineInterface public: - /** - * Command line constructor. DEPRECATED!!! This is here to maintain - * backwards compatibility with earlier releases. Note that the - * program name will be overwritten with argv[0]. The delimiter - * used is ' ' (as before). - * \param name - The program name - will be overwritten with argv[0]. - * \param message - The message to be used in the usage output. - * \param version - The version number to be used in the - * --version switch. - */ - CmdLine(const std::string& name, - const std::string& message, - const std::string& version = "none" ); - /** * Command line constructor. Defines how the arguments will be * parsed. @@ -274,20 +260,6 @@ class CmdLine : public CmdLineInterface //Begin CmdLine.cpp /////////////////////////////////////////////////////////////////////////////// -inline CmdLine::CmdLine(const std::string& n, - const std::string& m, - const std::string& v ) -: _progName(n), - _message(m), - _version(v), - _numRequired(0), - _delimiter(' '), - _userSetOutput(false), - _helpAndVersion(true) -{ - _constructor(); -} - inline CmdLine::CmdLine(const std::string& m, char delim, const std::string& v,