| Index: Source/heap/Heap.h
|
| diff --git a/Source/heap/Heap.h b/Source/heap/Heap.h
|
| index 5f8740352c90e616c5ca78cb2a043dcc3e91f06f..769fd8842ed1b779c3a64e178102065772176a19 100644
|
| --- a/Source/heap/Heap.h
|
| +++ b/Source/heap/Heap.h
|
| @@ -929,6 +929,9 @@ public:
|
| protected:
|
| GarbageCollected() { ASSERT(ThreadStateFor<ThreadingTrait<T>::Affinity>::State()->contains(reinterpret_cast<Address>(this))); }
|
| ~GarbageCollected() { }
|
| +
|
| +public:
|
| + typedef T GarbageCollectedBase;
|
| };
|
|
|
| // Forward declaration.
|
| @@ -953,6 +956,7 @@ protected:
|
| {
|
| static_cast<T*>(this)->~T();
|
| }
|
| + template<typename Any> friend struct FinalizerTrait;
|
|
|
| GarbageCollectedFinalized() { }
|
| ~GarbageCollectedFinalized() { }
|
|
|