1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:18:11 +00:00

Revert "AK: Remove virtual destructors from non-virtual classes"

This reverts commit 4378d36f67.
This commit is contained in:
Idan Horowitz 2021-04-23 11:10:23 +03:00 committed by Linus Groh
parent bf9c04a3da
commit f90c224fc5
2 changed files with 4 additions and 2 deletions

View file

@ -17,7 +17,7 @@ template<Integral K, typename V, IntrusiveRedBlackTreeNode<K> V::*member>
class IntrusiveRedBlackTree : public BaseRedBlackTree<K> {
public:
IntrusiveRedBlackTree() = default;
~IntrusiveRedBlackTree()
virtual ~IntrusiveRedBlackTree() override
{
clear();
}