1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibWeb: Use public inheritance for the RefCounted base class

I forgot about this in the previous commit, which caused a compile
error.
This commit is contained in:
Daniel Bertalan 2022-02-17 11:02:48 +01:00 committed by Andreas Kling
parent bf16349c5b
commit f3923b4aea

View file

@ -13,7 +13,7 @@ namespace Web::DOM {
// https://dom.spec.whatwg.org/#concept-event-listener
// NOTE: The spec calls this "event listener", and it's *importantly* not the same as "EventListener"
class DOMEventListener : RefCounted<DOMEventListener> {
class DOMEventListener : public RefCounted<DOMEventListener> {
public:
DOMEventListener();
~DOMEventListener();