Skip to content

Commit

Permalink
AbstractNamedObject: FullName() respects "::" module name prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
geringsj committed Sep 6, 2022
1 parent 2246c1a commit 5a9a5fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/AbstractNamedObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ vislib::StringA AbstractNamedObject::FullName(void) const {
break;
}
name.Prepend(ano->Name());
name.Prepend("::");
if (!name.StartsWith("::", false))
name.Prepend("::");
ano = ano->Parent();
}
return name;
Expand Down

0 comments on commit 5a9a5fd

Please sign in to comment.