зеркало из https://github.com/mozilla/gecko-dev.git
Make the destructor virtual
This commit is contained in:
Родитель
ce9ce62252
Коммит
f57ff4ba87
|
@ -83,7 +83,7 @@ public:
|
||||||
NS_IMETHOD LockFactory(PRBool aLock);
|
NS_IMETHOD LockFactory(PRBool aLock);
|
||||||
|
|
||||||
nsAllocatorFactory(void);
|
nsAllocatorFactory(void);
|
||||||
~nsAllocatorFactory(void);
|
virtual ~nsAllocatorFactory(void);
|
||||||
|
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
};
|
};
|
||||||
|
|
|
@ -83,7 +83,7 @@ public:
|
||||||
NS_IMETHOD LockFactory(PRBool aLock);
|
NS_IMETHOD LockFactory(PRBool aLock);
|
||||||
|
|
||||||
nsAllocatorFactory(void);
|
nsAllocatorFactory(void);
|
||||||
~nsAllocatorFactory(void);
|
virtual ~nsAllocatorFactory(void);
|
||||||
|
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче