diff options
| author | MenTaLguY <mental@rydia.net> | 2006-05-08 23:31:42 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2006-05-08 23:31:42 +0000 |
| commit | 3935a9f570e6e50c8acbd0c593060776ac9c24a0 (patch) | |
| tree | 5ff61d69fc76e4832c1be06dcdba02ac2224a746 /src/gc-anchored.cpp | |
| parent | removed resource name from self's jid, allowing authentication against jabber... (diff) | |
| download | inkscape-3935a9f570e6e50c8acbd0c593060776ac9c24a0.tar.gz inkscape-3935a9f570e6e50c8acbd0c593060776ac9c24a0.zip | |
use c++filt for symbol demangling if available
(bzr r778)
Diffstat (limited to '')
| -rw-r--r-- | src/gc-anchored.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<Anchored *>(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)); } }; |
