Commit 8484b9b3 authored by Bkg2k's avatar Bkg2k

fix(systems): use fullname+platform as unique key

parent 236b394e
......@@ -426,10 +426,10 @@ bool SystemData::loadSystemNodes(XmlNodeCollisionMap &collisionMap, XmlNodeList
// Get system
const Tree &system = systemNode.second;
// Composite key: short name + platform
std::string key = system.get("name", "");
// Composite key: fullname + platform
std::string key = system.get("fullname", "");
key += system.get("platform", "");
LOG(LogWarning) << "Key: " << key;
LOG(LogDebug) << "Key: " << key;
// Already exist in the store ?
int index = (collisionMap.find(key) != collisionMap.end()) ? collisionMap[key] : -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment