X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fgc-anchored.cpp;h=3f4cfc12dcf8cbe1a3022882495dbfe451f480f5;hb=03a65c733a473cd92d50132961d02c3910417f72;hp=baf36c0c95c51ffb4670565939b54c2620b36586;hpb=29c54358e58809867ecea08ad077d54cf7208e8a;p=inkscape.git diff --git a/src/gc-anchored.cpp b/src/gc-anchored.cpp index baf36c0c9..3f4cfc12d 100644 --- a/src/gc-anchored.cpp +++ b/src/gc-anchored.cpp @@ -13,6 +13,7 @@ #include "gc-anchored.h" #include "debug/event-tracker.h" #include "debug/simple-event.h" +#include "debug/demangle.h" #include "util/share.h" #include "util/format.h" @@ -32,7 +33,7 @@ public: { _addProperty("base", Util::format("%p", Core::base(const_cast(object)))); _addProperty("pointer", Util::format("%p", object)); - _addProperty("class", Util::share_static_string(typeid(*object).name())); + _addProperty("class", Debug::demangle(typeid(*object).name())); _addProperty("new-refcount", Util::format("%d", object->_anchored_refcount() + bias)); } };