$NetBSD: patch-aw,v 1.1 2005/12/31 00:56:42 joerg Exp $ --- util/RefArrayVectorOf.c.orig 2005-12-31 00:36:54.000000000 +0000 +++ util/RefArrayVectorOf.c @@ -22,12 +22,12 @@ RefArrayVectorOf::RefArrayVectorO template RefArrayVectorOf::~RefArrayVectorOf() { - if (fAdoptedElems) + if (this->fAdoptedElems) { - for (unsigned int index = 0; index < fCurCount; index++) - fMemoryManager->deallocate(fElemList[index]);//delete[] fElemList[index]; + for (unsigned int index = 0; index < this->fCurCount; index++) + this->fMemoryManager->deallocate(this->fElemList[index]);//delete[] fElemList[index]; } - fMemoryManager->deallocate(fElemList);//delete [] fElemList; + this->fMemoryManager->deallocate(this->fElemList);//delete [] fElemList; }