mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-12 05:35:08 -04:00
Removed check on description in Arg::operator== since multiple args should be able to have the same description.
This commit is contained in:
parent
da59fe2b4a
commit
505936eb05
@ -439,9 +439,7 @@ inline std::string Arg::longID( const std::string& valueId ) const
|
||||
|
||||
inline bool Arg::operator==(const Arg& a)
|
||||
{
|
||||
if ( ( _flag != "" && _flag == a._flag ) ||
|
||||
_name == a._name ||
|
||||
_description == a._description )
|
||||
if ( ( _flag != "" && _flag == a._flag ) || _name == a._name)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user