Allowing PropertyOwners to have an empty name (pulling their properties and subowners into the owners namespace

This commit is contained in:
Alexander Bock
2015-07-06 18:30:26 +02:00
parent 174129be5e
commit 5d8383d91f
3 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -75,7 +75,8 @@ std::string Property::fullyQualifiedIdentifier() const {
PropertyOwner* currentOwner = owner();
while (currentOwner) {
std::string ownerId = currentOwner->name();
identifier = ownerId + "." + identifier;
if (!ownerId.empty())
identifier = ownerId + "." + identifier;
currentOwner = currentOwner->owner();
}
return identifier;