using namespace std;
-typedef map<PoolItem_Ref, ResolverInfo_Ptr> ProblemMap;
+
+typedef multimap<PoolItem_Ref, ResolverInfo_Ptr> ProblemMap;
typedef multimap<PoolItem_Ref, Capability> ItemCapabilityMap;
typedef multimap<PoolItem_Ref, PoolItem_Ref> ConflictMap;
PoolItem_Ref item = info->affected();
if (item
&& info->error()) {
- collector->problems[item] = info;
+ collector->problems.insert (make_pair( item, info));
}
// Collicting items which are providing requirements but they
// are set for uninstall