ソースを参照

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
 // https://dom.spec.whatwg.org/#concept-event-listener
 // NOTE: The spec calls this "event listener", and it's *importantly* not the same as "EventListener"
 // 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:
 public:
     DOMEventListener();
     DOMEventListener();
     ~DOMEventListener();
     ~DOMEventListener();