mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
LibGC: Rename remaining occurrence of marked vector
In 3bfb0534be `MarkedVector` was renamed to `RootVector`, but some
related symbols were missed. This commit corrects this.
This commit is contained in:
committed by
Andrew Kaster
parent
49bdda1475
commit
01f8ab35f1
@@ -13,12 +13,12 @@ namespace GC {
|
||||
RootVectorBase::RootVectorBase(Heap& heap)
|
||||
: m_heap(&heap)
|
||||
{
|
||||
m_heap->did_create_marked_vector({}, *this);
|
||||
m_heap->did_create_root_vector({}, *this);
|
||||
}
|
||||
|
||||
RootVectorBase::~RootVectorBase()
|
||||
{
|
||||
m_heap->did_destroy_marked_vector({}, *this);
|
||||
m_heap->did_destroy_root_vector({}, *this);
|
||||
}
|
||||
|
||||
RootVectorBase& RootVectorBase::operator=(RootVectorBase const& other)
|
||||
@@ -27,7 +27,7 @@ RootVectorBase& RootVectorBase::operator=(RootVectorBase const& other)
|
||||
m_heap = other.m_heap;
|
||||
|
||||
// NOTE: IntrusiveList will remove this RootVectorBase from the old heap it was part of.
|
||||
m_heap->did_create_marked_vector({}, *this);
|
||||
m_heap->did_create_root_vector({}, *this);
|
||||
}
|
||||
|
||||
return *this;
|
||||
|
||||
Reference in New Issue
Block a user