summaryrefslogtreecommitdiffstats
path: root/src/object/sp-object.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-01-23 04:28:54 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2019-01-24 17:08:27 +0000
commit7dd1ed2d4eb8f7042587d22c601e3b3ad40cdcc2 (patch)
treec936faa4f4f17374eacd937b926f7d474900bf7d /src/object/sp-object.cpp
parentEvent: Switch all call sites from Util::ptr_shared to char const* or std::sha... (diff)
downloadinkscape-7dd1ed2d4eb8f7042587d22c601e3b3ad40cdcc2.tar.gz
inkscape-7dd1ed2d4eb8f7042587d22c601e3b3ad40cdcc2.zip
Demangle: Switch to std::shared_ptr.
Diffstat (limited to 'src/object/sp-object.cpp')
-rw-r--r--src/object/sp-object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-object.cpp b/src/object/sp-object.cpp
index 992c19970..5222fc5f2 100644
--- a/src/object/sp-object.cpp
+++ b/src/object/sp-object.cpp
@@ -206,7 +206,7 @@ public:
: BaseRefCountEvent(name)
{
_addProperty("object", Util::format("%p", object).pointer());
- _addProperty("class", Debug::demangle(g_type_name(G_TYPE_FROM_INSTANCE(object))).pointer());
+ _addProperty("class", std::move(Debug::demangle(g_type_name(G_TYPE_FROM_INSTANCE(object)))));
_addProperty("new-refcount", Util::format("%d", G_OBJECT(object)->ref_count + bias).pointer());
}
};