mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 20:22:00 +00:00
destructor should be virtual.
This commit is contained in:
parent
5404272a5e
commit
3c2da32000
@ -27,6 +27,7 @@ class nsEventQueueImpl : public nsIEventQueue
|
||||
{
|
||||
public:
|
||||
nsEventQueueImpl();
|
||||
virtual ~nsEventQueueImpl();
|
||||
|
||||
// nsISupports interface...
|
||||
NS_DECL_ISUPPORTS
|
||||
@ -52,9 +53,6 @@ public:
|
||||
|
||||
static const nsCID& CID() { static nsCID cid = NS_EVENTQUEUE_CID; return cid; }
|
||||
|
||||
protected:
|
||||
~nsEventQueueImpl();
|
||||
|
||||
private:
|
||||
PLEventQueue* mEventQueue;
|
||||
};
|
||||
|
@ -27,6 +27,7 @@ class nsEventQueueImpl : public nsIEventQueue
|
||||
{
|
||||
public:
|
||||
nsEventQueueImpl();
|
||||
virtual ~nsEventQueueImpl();
|
||||
|
||||
// nsISupports interface...
|
||||
NS_DECL_ISUPPORTS
|
||||
@ -52,9 +53,6 @@ public:
|
||||
|
||||
static const nsCID& CID() { static nsCID cid = NS_EVENTQUEUE_CID; return cid; }
|
||||
|
||||
protected:
|
||||
~nsEventQueueImpl();
|
||||
|
||||
private:
|
||||
PLEventQueue* mEventQueue;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user