diff --git a/Libraries/LibGC/ConservativeVector.h b/Libraries/LibGC/ConservativeVector.h index 8277e6bcbcd..64051357dea 100644 --- a/Libraries/LibGC/ConservativeVector.h +++ b/Libraries/LibGC/ConservativeVector.h @@ -42,7 +42,7 @@ public: { } - virtual ~ConservativeVector() = default; + ~ConservativeVector() = default; ConservativeVector(ConservativeVector const& other) : ConservativeVectorBase(*other.m_heap) diff --git a/Libraries/LibGC/RootHashMap.h b/Libraries/LibGC/RootHashMap.h index fec2d48ae34..371611f71c2 100644 --- a/Libraries/LibGC/RootHashMap.h +++ b/Libraries/LibGC/RootHashMap.h @@ -45,7 +45,7 @@ public: { } - virtual ~RootHashMap() = default; + ~RootHashMap() = default; virtual void gather_roots(HashMap& roots) const override { diff --git a/Libraries/LibGC/RootVector.h b/Libraries/LibGC/RootVector.h index a448ea54e6b..eaf698038b2 100644 --- a/Libraries/LibGC/RootVector.h +++ b/Libraries/LibGC/RootVector.h @@ -46,7 +46,7 @@ public: { } - virtual ~RootVector() = default; + ~RootVector() = default; RootVector(Heap& heap, ReadonlySpan other) : RootVectorBase(heap)