peiyongz 2003/02/06 08:11:30 Modified: c/src/xercesc/util RefVectorOf.c Log: Bug#16826: RefVectorOf.c has errors in strict ANSI mode, patch from David Bertoni ([EMAIL PROTECTED] ) Revision Changes Path 1.7 +7 -4 xml-xerces/c/src/xercesc/util/RefVectorOf.c Index: RefVectorOf.c =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefVectorOf.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- RefVectorOf.c 17 Dec 2002 21:06:02 -0000 1.6 +++ RefVectorOf.c 6 Feb 2003 16:11:30 -0000 1.7 @@ -56,6 +56,10 @@ /** * $Log$ + * Revision 1.7 2003/02/06 16:11:30 peiyongz + * Bug#16826: RefVectorOf.c has errors in strict ANSI mode, patch from + * David Bertoni ([EMAIL PROTECTED] ) + * * Revision 1.6 2002/12/17 21:06:02 gareth * Removed defaulting from parameters in c files as windows and gcc 3.2 say this is wrong. * @@ -117,12 +121,12 @@ template <class TElem> RefVectorOf<TElem>::~RefVectorOf() { - if (fAdoptedElems) + if (this->fAdoptedElems) { - for (unsigned int index = 0; index < fCurCount; index++) - delete fElemList[index]; + for (unsigned int index = 0; index < this->fCurCount; index++) + delete this->fElemList[index]; } - delete [] fElemList; + delete [] this->fElemList; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]