From 6476d938a54cca2ff596999aba81c704236e9a23 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Thu, 23 Feb 2006 20:25:42 +0000 Subject: [PATCH] count items before _and_ after resolve --- zypp/solver/detail/Resolver.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zypp/solver/detail/Resolver.cc b/zypp/solver/detail/Resolver.cc index 79146a1..119e1fe 100644 --- a/zypp/solver/detail/Resolver.cc +++ b/zypp/solver/detail/Resolver.cc @@ -757,10 +757,11 @@ Resolver::resolvePool () ResolverContext_Ptr solution = bestContext(); solution->foreachMarked (solution_to_pool, NULL); #if 1 + count = 0; MIL << "Pool after resolve" << endl; MIL << "---------------------------------------" << endl; for (ResPool::const_iterator it = _pool.begin(); it != _pool.end(); ++it) { - MIL << *it << endl; + MIL << ++count << ". " << *it << endl; } MIL << "---------------------------------------" << endl; #endif -- 2.7.4