зеркало из https://github.com/mozilla/pjs.git
make destructors virtual
This commit is contained in:
Родитель
94edddef2a
Коммит
ee416869ae
|
@ -47,7 +47,7 @@ public:
|
|||
il_container *SetContainer(il_container *ic) {mContainer=ic; return ic;};
|
||||
|
||||
GIFCallbk(il_container *aContainer){ NS_INIT_ISUPPORTS(); mContainer=aContainer; };
|
||||
~GIFCallbk() { }; // XXX Pam needs to fix this
|
||||
virtual ~GIFCallbk() { }; // XXX Pam needs to fix this
|
||||
|
||||
private:
|
||||
il_container* mContainer;
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
il_container *SetContainer(il_container *ic) {mContainer=ic; return ic;};
|
||||
|
||||
ImgDecoder(il_container *aContainer){ NS_INIT_ISUPPORTS(); mContainer=aContainer;};
|
||||
~ImgDecoder(); // XXX Pam needs to fix this
|
||||
virtual ~ImgDecoder(); // XXX Pam needs to fix this
|
||||
|
||||
private:
|
||||
il_container* mContainer;
|
||||
|
|
Загрузка…
Ссылка в новой задаче