implement also operator != for Url
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 18 Jul 2007 14:43:01 +0000 (14:43 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 18 Jul 2007 14:43:01 +0000 (14:43 +0000)
zypp/Url.cc
zypp/Url.h

index a1d68ba..8473df3 100644 (file)
@@ -793,6 +793,11 @@ namespace zypp
     return (lhs.asString() == rhs.asString());
   }
   
+  bool operator!=( const Url &lhs, const Url &rhs )
+  {
+    return (lhs.asString() != rhs.asString());
+  }
+  
   ////////////////////////////////////////////////////////////////////
 } // namespace zypp
 //////////////////////////////////////////////////////////////////////
index ab3477e..b6b2c3f 100644 (file)
@@ -782,6 +782,9 @@ namespace zypp
    */
   bool operator==( const Url &lhs, const Url &rhs );
   
+  bool operator!=( const Url &lhs, const Url &rhs );
+  
   ////////////////////////////////////////////////////////////////////
 } // namespace zypp
 //////////////////////////////////////////////////////////////////////