mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-11 21:24:53 -04:00
removed a deprecated constructor
This commit is contained in:
parent
8131d4b75c
commit
1a066c1d42
@ -153,20 +153,6 @@ class CmdLine : public CmdLineInterface
|
|||||||
|
|
||||||
public:
|
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
|
* Command line constructor. Defines how the arguments will be
|
||||||
* parsed.
|
* parsed.
|
||||||
@ -274,20 +260,6 @@ class CmdLine : public CmdLineInterface
|
|||||||
//Begin CmdLine.cpp
|
//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,
|
inline CmdLine::CmdLine(const std::string& m,
|
||||||
char delim,
|
char delim,
|
||||||
const std::string& v,
|
const std::string& v,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user