зеркало из https://github.com/mozilla/gecko-dev.git
Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
Original committer: bryner%brianryner.com Original revision: 1.5 Original date: 2004/01/15 06:14:12
This commit is contained in:
Родитель
ec2c3e9d6b
Коммит
2e67e2a63e
|
@ -59,7 +59,9 @@ public:
|
|||
nsSimpleArrayEnumerator(nsIArray* aValueArray) :
|
||||
mValueArray(aValueArray), mIndex(0) {
|
||||
}
|
||||
virtual ~nsSimpleArrayEnumerator(void) {}
|
||||
|
||||
private:
|
||||
~nsSimpleArrayEnumerator() {}
|
||||
|
||||
protected:
|
||||
nsCOMPtr<nsIArray> mValueArray;
|
||||
|
|
Загрузка…
Ссылка в новой задаче