#include <sstream>
#include "zypp/solver/detail/ResolverInfoContainer.h"
+#include "zypp/base/Logger.h"
#include "zypp/solver/detail/Helper.h"
/////////////////////////////////////////////////////////////////////////
// Search item_list for any mention of the item.
for (PoolItemList::const_iterator iter = _item_list.begin(); iter != _item_list.end(); iter++) {
+ MIL << "yyyyyyxx " << item << " xx " << *iter << endl;
if ((*iter)->name() == item->name()) {
return true;
}
void
ResolverInfoContainer::addRelatedPoolItem (PoolItem_Ref item)
{
- if (!mentions(item)) {
+ if (item && !mentions(item)) {
_item_list.push_front (item);
}
}