Author: mlandres Date: Thu May 8 18:09:36 2008 New Revision: 9994 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9994&view=rev Log: provide operator!= (missing as operator== is defined) Modified: trunk/libzypp/zypp/repo/RepoType.h Modified: trunk/libzypp/zypp/repo/RepoType.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/repo/RepoType.h?rev=9994&r1=9993&r2=9994&view=diff ============================================================================== --- trunk/libzypp/zypp/repo/RepoType.h (original) +++ trunk/libzypp/zypp/repo/RepoType.h Thu May 8 18:09:36 2008 @@ -61,6 +61,8 @@ inline bool operator==(const RepoType & obj1, const RepoType & obj2) { return obj1._type == obj2._type; } + inline bool operator!=(const RepoType & obj1, const RepoType & obj2) + { return ! (obj1 == obj2); } } // ns repo } // ns zypp -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org