Removed check on description in Arg::operator== since multiple args should be able to have the same description.

This commit is contained in:
macbishop 2005-01-17 20:48:52 +00:00
parent da59fe2b4a
commit 505936eb05

View File

@ -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;