From 34337b50ef13e19f9ef9ded623df576431edcd33 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Mon, 30 Jan 2006 12:07:48 +0000 Subject: [PATCH] debug - pass the correct parent context to a branched queue --- zypp/solver/detail/ResolverQueue.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zypp/solver/detail/ResolverQueue.cc b/zypp/solver/detail/ResolverQueue.cc index ea5de611c..25c7f02c8 100644 --- a/zypp/solver/detail/ResolverQueue.cc +++ b/zypp/solver/detail/ResolverQueue.cc @@ -67,6 +67,7 @@ operator<<( ostream& os, const ResolverQueue & resolverqueue) ResolverQueue::ResolverQueue (const ResPool & pool, ResolverContext_Ptr context) : _context (context) { +DBG << "ResolverQueue::ResolverQueue(pool, " << context << ")" << endl; if (context == NULL) _context = new ResolverContext(pool); } @@ -294,9 +295,9 @@ copy_queue_except_for_branch (ResolverQueue_Ptr queue, QueueItem_Ptr branch_qite { ResolverContext_Ptr new_context; ResolverQueue_Ptr new_queue; - +MIL << "copy_queue_except_for_branch" << endl; new_context = new ResolverContext (queue->context()->pool(), queue->context()); - new_queue = new ResolverQueue (new_context->pool()); + new_queue = new ResolverQueue (new_context->pool(), new_context); QueueItemList qil = queue->qitems(); for (QueueItemList::const_iterator iter = qil.begin(); iter != qil.end(); ++iter) { -- 2.34.1