From 505936eb05fc98accd841cf8a0323cba7b582352 Mon Sep 17 00:00:00 2001 From: macbishop Date: Mon, 17 Jan 2005 20:48:52 +0000 Subject: [PATCH] Removed check on description in Arg::operator== since multiple args should be able to have the same description. --- include/tclap/Arg.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/tclap/Arg.h b/include/tclap/Arg.h index 095d510..054307c 100644 --- a/include/tclap/Arg.h +++ b/include/tclap/Arg.h @@ -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;