From c7ffba4c8d0030bf5bf92dd4eef6fac6017c62bf Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Wed, 8 Feb 2006 04:15:29 +0000 Subject: share_static -> share_static_string (bzr r104) --- src/debug/gc-heap.h | 2 +- src/debug/logger.cpp | 2 +- src/debug/sysv-heap.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/debug') 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 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 << "\n"; log_stream.flush(); _enabled = true; - start >(Util::share_static("session")); + start >(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 name() const { - return Util::share_static("standard malloc()"); + return Util::share_static_string("standard malloc()"); } Stats stats() const; void force_collect() {} -- cgit v1.2.3