Author: dmacvicar Date: Wed Jul 18 16:43:01 2007 New Revision: 6074 URL: http://svn.opensuse.org/viewcvs/zypp?rev=6074&view=rev Log: implement also operator != for Url Modified: trunk/libzypp/zypp/Url.cc trunk/libzypp/zypp/Url.h Modified: trunk/libzypp/zypp/Url.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Url.cc?rev=6074&r1=6073&r2=6074&view=diff ============================================================================== --- trunk/libzypp/zypp/Url.cc (original) +++ trunk/libzypp/zypp/Url.cc Wed Jul 18 16:43:01 2007 @@ -793,6 +793,11 @@ return (lhs.asString() == rhs.asString()); } + bool operator!=( const Url &lhs, const Url &rhs ) + { + return (lhs.asString() != rhs.asString()); + } + //////////////////////////////////////////////////////////////////// } // namespace zypp ////////////////////////////////////////////////////////////////////// Modified: trunk/libzypp/zypp/Url.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Url.h?rev=6074&r1=6073&r2=6074&view=diff ============================================================================== --- trunk/libzypp/zypp/Url.h (original) +++ trunk/libzypp/zypp/Url.h Wed Jul 18 16:43:01 2007 @@ -782,6 +782,9 @@ */ bool operator==( const Url &lhs, const Url &rhs ); + + bool operator!=( const Url &lhs, const Url &rhs ); + //////////////////////////////////////////////////////////////////// } // namespace zypp ////////////////////////////////////////////////////////////////////// -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org