mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.cosmetics (warning removed)
This commit is contained in:
parent
284648cf87
commit
1bb3725781
1 changed files with 4 additions and 2 deletions
|
|
@ -66,8 +66,10 @@ String Ctrl::Name() const {
|
|||
#else
|
||||
String s = String(typeid(*this).name()) + " : " + Format("0x%x", (int) this);
|
||||
#endif
|
||||
if(IsChild())
|
||||
s << "(parent " << String(typeid(*GetParent()).name()) << ")";
|
||||
if(IsChild()) {
|
||||
Ctrl *parent = GetParent();
|
||||
s << "(parent " << String(typeid(*parent).name()) << ")";
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue