فهرست منبع

LibWeb: Use public inheritance for the RefCounted base class

I forgot about this in the previous commit, which caused a compile
error.
Daniel Bertalan 3 سال پیش
والد
کامیت
f3923b4aea
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Userland/Libraries/LibWeb/DOM/DOMEventListener.h

+ 1 - 1
Userland/Libraries/LibWeb/DOM/DOMEventListener.h

@@ -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();