Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11647 - /trunk/libzypp/zypp/Pathname.h
  • From: mlandres@xxxxxxxxxxxxxxxx
  • Date: Tue, 11 Nov 2008 12:33:57 -0000
  • Message-id: <20081111123357.75CC027B0E@xxxxxxxxxxxxxxxx>
Author: mlandres
Date: Tue Nov 11 13:33:57 2008
New Revision: 11647

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11647&view=rev
Log:
add Pathname::operator<

Modified:
trunk/libzypp/zypp/Pathname.h

Modified: trunk/libzypp/zypp/Pathname.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Pathname.h?rev=11647&r1=11646&r2=11647&view=diff
==============================================================================
--- trunk/libzypp/zypp/Pathname.h (original)
+++ trunk/libzypp/zypp/Pathname.h Tue Nov 11 13:33:57 2008
@@ -167,6 +167,10 @@
inline Pathname operator+( const Pathname & l, const Pathname & r )
{ return Pathname::cat( l, r ); }

+ /** \relates Pathname */
+ inline bool operator<( const Pathname & l, const Pathname & r )
+ { return l.asString() < r.asString(); }
+
///////////////////////////////////////////////////////////////////

/** \relates Pathname Stream output */

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages