Author: schubi2
Date: Mon Feb 11 16:49:15 2008
New Revision: 8612
URL: http://svn.opensuse.org/viewcvs/zypp?rev=8612&view=rev
Log:
using byIdentBegin istead of byNameBegin
Modified:
branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/ResolverUpgrade.cc
Modified: branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/ResolverUpgrade.cc
URL: http://svn.opensuse.org/viewcvs/zypp/branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/ResolverUpgrade.cc?rev=8612&r1=8611&r2=8612&view=diff
==============================================================================
--- branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/ResolverUpgrade.cc (original)
+++ branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/ResolverUpgrade.cc Mon Feb 11 16:49:15 2008
@@ -278,10 +278,9 @@
bool setForInstallation (const ResPool &pool, PoolItem item) {
LookForSelected info(item);
- invokeOnEach( pool.byNameBegin (item->name()),
- pool.byNameEnd (item->name()),
- functor::chain (resfilter::ByUninstalled (), // ByUninstalled
- resfilter::ByKind (item->kind())), // equal kind
+ invokeOnEach( pool.byIdentBegin (item->kind(),item->name()),
+ pool.byIdentEnd (item->kind(),item->name()),
+ resfilter::ByUninstalled (), // ByUninstalled
functor::functorRef