[BACK]Return to patch-aw CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / xerces-c / patches

File: [cvs.NetBSD.org] / pkgsrc / textproc / xerces-c / patches / Attic / patch-aw (download)

Revision 1.1, Sat Dec 31 00:56:42 2005 UTC (14 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1

Add DragonFly support. Fix a number of GCC 3.4 issues.

$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<TElem>::RefArrayVectorO
 
 template <class TElem> RefArrayVectorOf<TElem>::~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;
 }