summaryrefslogtreecommitdiffstats
path: root/src/debug
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-02-08 04:15:29 +0000
committermental <mental@users.sourceforge.net>2006-02-08 04:15:29 +0000
commitc7ffba4c8d0030bf5bf92dd4eef6fac6017c62bf (patch)
tree48842d0beebf72330fd5fd3e8b6d3edcfbedf257 /src/debug
parentrevert to black and white cursors (diff)
downloadinkscape-c7ffba4c8d0030bf5bf92dd4eef6fac6017c62bf.tar.gz
inkscape-c7ffba4c8d0030bf5bf92dd4eef6fac6017c62bf.zip
share_static -> share_static_string
(bzr r104)
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/gc-heap.h2
-rw-r--r--src/debug/logger.cpp2
-rw-r--r--src/debug/sysv-heap.h2
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() {}