diff --git a/Libraries/LibGC/RootVector.h b/Libraries/LibGC/RootVector.h index 5e05bf4fd68..9c7b7b3cf36 100644 --- a/Libraries/LibGC/RootVector.h +++ b/Libraries/LibGC/RootVector.h @@ -46,6 +46,12 @@ public: virtual ~RootVector() = default; + RootVector(Heap& heap, ReadonlySpan other) + : RootVectorBase(heap) + , Vector(other) + { + } + RootVector(RootVector const& other) : RootVectorBase(*other.m_heap) , Vector(other)