From 258914e0577cd0d556abe2356be908b513a3b876 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 23 Jan 2019 05:24:00 +0100 Subject: Event: Switch all call sites from Util::ptr_shared to char const* or std::shared_ptr. --- src/debug/logger.cpp | 1 + src/debug/simple-event.h | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src/debug') diff --git a/src/debug/logger.cpp b/src/debug/logger.cpp index 2c76921ac..37b8221bf 100644 --- a/src/debug/logger.cpp +++ b/src/debug/logger.cpp @@ -10,6 +10,7 @@ * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ +#include #include #include #include diff --git a/src/debug/simple-event.h b/src/debug/simple-event.h index 96dde6893..983ff5346 100644 --- a/src/debug/simple-event.h +++ b/src/debug/simple-event.h @@ -20,7 +20,6 @@ #include // g_assert() #include "debug/event.h" -#include "util/share.h" namespace Inkscape { @@ -45,10 +44,6 @@ public: void generateChildEvents() const override {} protected: - // TODO: change all call sites for this method, and remove it. - void _addProperty(char const *name, Util::ptr_shared value) { - _properties.push_back(PropertyPair(name, std::move(std::make_shared(value.pointer())))); - } void _addProperty(char const *name, std::shared_ptr&& value) { _properties.push_back(PropertyPair(name, std::move(value))); } -- cgit v1.2.3