Making object destructor public to quiet down gcc. rs=alecf@netscape.com

This commit is contained in:
jst%netscape.com 2001-10-02 23:29:05 +00:00
Родитель dece5d01cc
Коммит 12cde448d4
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -174,7 +174,6 @@ private:
// destrucor of this class is private.
nsDOMEventRTTearoff(nsIContent *aContent);
virtual ~nsDOMEventRTTearoff();
static nsDOMEventRTTearoff *mCachedEventTearoff[NS_EVENT_TEAROFF_CACHE_SIZE];
static PRUint32 mCachedEventTearoffCount;
@ -187,6 +186,8 @@ private:
nsresult GetEventReceiver(nsIDOMEventReceiver **aReceiver);
public:
virtual ~nsDOMEventRTTearoff();
// Use this static method to create instances of this tearoff class.
static nsDOMEventRTTearoff *Create(nsIContent *aContent);