13
0

Canvas: add Item::whoami() for debugging output

This commit is contained in:
Paul Davis 2020-06-10 15:51:16 -06:00
parent f17160ee0e
commit 6d89d3afef

View File

@ -254,6 +254,9 @@ public:
#ifdef CANVAS_DEBUG
std::string name;
std::string whoami() const { return whatami() + '/' + name; }
#else
std::string whoami() const { return whatami(); }
#endif
#ifdef CANVAS_COMPATIBILITY