diff options
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/gc-heap.h | 4 | ||||
| -rw-r--r-- | src/debug/heap.h | 3 | ||||
| -rw-r--r-- | src/debug/log-display-config.h | 2 | ||||
| -rw-r--r-- | src/debug/sysv-heap.h | 4 |
4 files changed, 5 insertions, 8 deletions
diff --git a/src/debug/gc-heap.h b/src/debug/gc-heap.h index 155e13eb1..e0fd8f159 100644 --- a/src/debug/gc-heap.h +++ b/src/debug/gc-heap.h @@ -24,8 +24,8 @@ public: int features() const override { return SIZE_AVAILABLE | USED_AVAILABLE | GARBAGE_COLLECTED; } - Util::ptr_shared name() const override { - return Util::share_static_string("libgc"); + char const *name() const override { + return "libgc"; } Heap::Stats stats() const override { Stats stats; diff --git a/src/debug/heap.h b/src/debug/heap.h index 72aae1603..81e7b73eb 100644 --- a/src/debug/heap.h +++ b/src/debug/heap.h @@ -14,7 +14,6 @@ #define SEEN_INKSCAPE_DEBUG_HEAP_H #include <cstddef> -#include "util/share.h" namespace Inkscape { @@ -37,7 +36,7 @@ public: virtual int features() const=0; - virtual Util::ptr_shared name() const=0; + virtual char const *name() const=0; virtual Stats stats() const=0; virtual void force_collect()=0; }; diff --git a/src/debug/log-display-config.h b/src/debug/log-display-config.h index 9adef3347..df9be18ac 100644 --- a/src/debug/log-display-config.h +++ b/src/debug/log-display-config.h @@ -13,8 +13,6 @@ #ifndef SEEN_INKSCAPE_DEBUG_LOG_DISPLAY_CONFIG_H #define SEEN_INKSCAPE_DEBUG_LOG_DISPLAY_CONFIG_H -#include "util/share.h" - namespace Inkscape { namespace Debug { diff --git a/src/debug/sysv-heap.h b/src/debug/sysv-heap.h index 3829eb11d..f7ed27107 100644 --- a/src/debug/sysv-heap.h +++ b/src/debug/sysv-heap.h @@ -24,8 +24,8 @@ public: int features() const override; - Util::ptr_shared name() const override { - return Util::share_static_string("standard malloc()"); + char const *name() const override { + return "standard malloc()"; } Stats stats() const override; void force_collect() override {} |
