diff options
author | Linus Groh <mail@linusgroh.de> | 2022-10-13 22:22:41 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-24 22:58:37 +0100 |
commit | 93405b4affb141ef97231d26f1f0991c8978efe3 (patch) | |
tree | 78dbf2f284f77715f57bf15c822730e09e4f8a4c /Userland/Libraries/LibGfx/Palette.cpp | |
parent | e40c8f550f8f4eab1e3115440674c31082f6cea6 (diff) | |
download | serenity-93405b4affb141ef97231d26f1f0991c8978efe3.zip |
LibWeb: Add virtual destructor to Environment
This makes it polymorphic and allows checking the subclass of an
Environment with is<T>().
We also need to change the inheritance order so JS::Cell comes first for
this to work. Unfortunately, I have no idea why that is.
Co-Authored-By: Andreas Kling <kling@serenityos.org>
Diffstat (limited to 'Userland/Libraries/LibGfx/Palette.cpp')
0 files changed, 0 insertions, 0 deletions