diff --git a/src/debug/gc-heap.h b/src/debug/gc-heap.h
index b3042432ea196816b9544a08b4d360c3cdfee311..0a9534701deb01272f99b72eb7098feb5b5d2169 100644 (file)
--- a/src/debug/gc-heap.h
+++ b/src/debug/gc-heap.h
int features() const {
return SIZE_AVAILABLE | USED_AVAILABLE | GARBAGE_COLLECTED;
}
- Util::SharedCStringPtr name() const {
- return Util::SharedCStringPtr::coerce("libgc");
+ Util::shared_ptr<char> name() const {
+ return Util::share_static("libgc");
}
Heap::Stats stats() const {
Stats stats;