Return-Path: Delivered-To: apmail-xml-xalan-cvs-archive@xml.apache.org Received: (qmail 95971 invoked by uid 500); 18 Sep 2001 18:28:17 -0000 Mailing-List: contact xalan-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: Delivered-To: mailing list xalan-cvs@xml.apache.org Received: (qmail 95956 invoked from network); 18 Sep 2001 18:28:17 -0000 Date: 18 Sep 2001 18:22:17 -0000 Message-ID: <20010918182217.60667.qmail@icarus.apache.org> From: dbertoni@apache.org To: xml-xalan-cvs@apache.org Subject: cvs commit: xml-xalan/c/src/XPath XPathEnvSupportDefault.cpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N dbertoni 01/09/18 11:22:17 Modified: c/src/XPath XPathEnvSupportDefault.cpp Log: Added new #ifdef for XALAN_CANNOT_DELETE_CONST. Revision Changes Path 1.29 +4 -0 xml-xalan/c/src/XPath/XPathEnvSupportDefault.cpp Index: XPathEnvSupportDefault.cpp =================================================================== RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathEnvSupportDefault.cpp,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- XPathEnvSupportDefault.cpp 2001/09/14 20:06:26 1.28 +++ XPathEnvSupportDefault.cpp 2001/09/18 18:22:17 1.29 @@ -185,7 +185,11 @@ else { // Found it, so delete the function... +#if defined(XALAN_CANNOT_DELETE_CONST) + delete (Function*)(*j).second; +#else delete (*j).second; +#endif // If function is not 0, then we update // the entry. Otherwise, we erase it... --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: xalan-cvs-help@xml.apache.org