From cdbd7f5c2becd865f29fa07fe4e09575be78c75b Mon Sep 17 00:00:00 2001 From: "braddr%puremagic.com" Date: Sat, 10 Apr 1999 09:49:03 +0000 Subject: [PATCH] Make the destructor virtual git-svn-id: svn://10.0.0.236/trunk@27006 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/base/nsAllocator.h | 2 +- mozilla/xpcom/src/nsAllocator.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/xpcom/base/nsAllocator.h b/mozilla/xpcom/base/nsAllocator.h index b25659e1845..8d0baad2b7c 100644 --- a/mozilla/xpcom/base/nsAllocator.h +++ b/mozilla/xpcom/base/nsAllocator.h @@ -83,7 +83,7 @@ public: NS_IMETHOD LockFactory(PRBool aLock); nsAllocatorFactory(void); - ~nsAllocatorFactory(void); + virtual ~nsAllocatorFactory(void); NS_DECL_ISUPPORTS }; diff --git a/mozilla/xpcom/src/nsAllocator.h b/mozilla/xpcom/src/nsAllocator.h index b25659e1845..8d0baad2b7c 100644 --- a/mozilla/xpcom/src/nsAllocator.h +++ b/mozilla/xpcom/src/nsAllocator.h @@ -83,7 +83,7 @@ public: NS_IMETHOD LockFactory(PRBool aLock); nsAllocatorFactory(void); - ~nsAllocatorFactory(void); + virtual ~nsAllocatorFactory(void); NS_DECL_ISUPPORTS };