diff --git a/src/debug/gc-heap.h b/src/debug/gc-heap.h
index b3042432ea196816b9544a08b4d360c3cdfee311..4d0343f12ce77753aa030db9c0839bd0d6d70d0e 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::ptr_shared<char> name() const {
+ return Util::share_static_string("libgc");
}
Heap::Stats stats() const {
Stats stats;