[yast-commit] r45107 - /branches/tmp/bubli/ncurses-pkg/src/NCZypp.h
Author: kmachalkova Date: Thu Feb 28 17:24:50 2008 New Revision: 45107 URL: http://svn.opensuse.org/viewcvs/yast?rev=45107&view=rev Log: sort function moved here Modified: branches/tmp/bubli/ncurses-pkg/src/NCZypp.h Modified: branches/tmp/bubli/ncurses-pkg/src/NCZypp.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/ncurses-pkg/src/NCZypp.h?rev=45107&r1=45106&r2=45107&view=diff ============================================================================== --- branches/tmp/bubli/ncurses-pkg/src/NCZypp.h (original) +++ branches/tmp/bubli/ncurses-pkg/src/NCZypp.h Thu Feb 28 17:24:50 2008 @@ -135,5 +135,8 @@ return binary_search( sorted_vector.begin(), sorted_vector.end(), search); } - +inline bool sortByName( ZyppSel ptr1, ZyppSel ptr2 ) +{ + return( ptr1->name() < ptr2->name() ); +} #endif // NCZypp_h -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org