diff options
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/gc-heap.h | 2 | ||||
| -rw-r--r-- | src/debug/logger.cpp | 2 | ||||
| -rw-r--r-- | src/debug/sysv-heap.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/debug/gc-heap.h b/src/debug/gc-heap.h index 0a9534701..75a60158e 100644 --- a/src/debug/gc-heap.h +++ b/src/debug/gc-heap.h @@ -24,7 +24,7 @@ public: return SIZE_AVAILABLE | USED_AVAILABLE | GARBAGE_COLLECTED; } Util::shared_ptr<char> name() const { - return Util::share_static("libgc"); + return Util::share_static_string("libgc"); } Heap::Stats stats() const { Stats stats; diff --git a/src/debug/logger.cpp b/src/debug/logger.cpp index 6fb1aee05..3acd95ff5 100644 --- a/src/debug/logger.cpp +++ b/src/debug/logger.cpp @@ -128,7 +128,7 @@ void Logger::init() { log_stream << "<?xml version=\"1.0\"?>\n"; log_stream.flush(); _enabled = true; - start<SimpleEvent<Event::CORE> >(Util::share_static("session")); + start<SimpleEvent<Event::CORE> >(Util::share_static_string("session")); std::atexit(&do_shutdown); } } diff --git a/src/debug/sysv-heap.h b/src/debug/sysv-heap.h index 9a07a3261..840afac32 100644 --- a/src/debug/sysv-heap.h +++ b/src/debug/sysv-heap.h @@ -24,7 +24,7 @@ public: int features() const; Util::shared_ptr<char> name() const { - return Util::share_static("standard malloc()"); + return Util::share_static_string("standard malloc()"); } Stats stats() const; void force_collect() {} |
