Fixed: Assign instead of a comparison
This commit is contained in:
parent
4f4f47c727
commit
9848b49a76
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ bool CObject::getShortestName(std::string &instanceId, std::string &attrName, si
|
|||
return false;
|
||||
}
|
||||
instanceId = parent2->getAttr("InstanceId")->toString();
|
||||
attrName == parent2->getKey(index2);
|
||||
attrName = parent2->getKey(index2);
|
||||
position = index;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue