Fixed: Assign instead of a comparison
This commit is contained in:
parent
2186e92527
commit
3c97196d1b
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