diff options
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/logger.cpp | 1 | ||||
| -rw-r--r-- | src/debug/simple-event.h | 5 |
2 files changed, 1 insertions, 5 deletions
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 <cstring> #include <fstream> #include <memory> #include <string> 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 <glib.h> // 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<std::string>(value.pointer())))); - } void _addProperty(char const *name, std::shared_ptr<std::string>&& value) { _properties.push_back(PropertyPair(name, std::move(value))); } |
