destructor should be virtual.

This commit is contained in:
sspitzer%netscape.com 1999-05-13 00:44:20 +00:00
parent 5404272a5e
commit 3c2da32000
2 changed files with 2 additions and 6 deletions

View File

@ -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;
};

View File

@ -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;
};