summaryrefslogtreecommitdiffstats
path: root/src/object
diff options
context:
space:
mode:
Diffstat (limited to 'src/object')
-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());
}
};