Canvas: add Item::whoami() for debugging output
This commit is contained in:
parent
f17160ee0e
commit
6d89d3afef
|
@ -254,6 +254,9 @@ public:
|
||||||
|
|
||||||
#ifdef CANVAS_DEBUG
|
#ifdef CANVAS_DEBUG
|
||||||
std::string name;
|
std::string name;
|
||||||
|
std::string whoami() const { return whatami() + '/' + name; }
|
||||||
|
#else
|
||||||
|
std::string whoami() const { return whatami(); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CANVAS_COMPATIBILITY
|
#ifdef CANVAS_COMPATIBILITY
|
||||||
|
|
Loading…
Reference in New Issue
Block a user