projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b0f7b
)
added < operator
author
Stefan Schubert
<schubi@suse.de>
Mon, 11 Feb 2008 14:25:11 +0000
(14:25 +0000)
committer
Stefan Schubert
<schubi@suse.de>
Mon, 11 Feb 2008 14:25:11 +0000
(14:25 +0000)
zypp/sat/Repo.h
patch
|
blob
|
history
diff --git
a/zypp/sat/Repo.h
b/zypp/sat/Repo.h
index 1740275b0b8f68925674b2440abfae6b21495841..6c99e3c3f1849b4feb2b8a58539f1c241d898115 100644
(file)
--- a/
zypp/sat/Repo.h
+++ b/
zypp/sat/Repo.h
@@
-143,6
+143,10
@@
namespace zypp
inline bool operator!=( const Repo & lhs, const Repo & rhs )
{ return lhs.get() != rhs.get(); }
+ /** \relates Repository */
+ inline bool operator<( const Repo & lhs, const Repo & rhs )
+ { return lhs.get() < rhs.get(); }
+
///////////////////////////////////////////////////////////////////
//
// CLASS NAME : Repo::EraseFromPool