You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/09/18 20:22:17 UTC
cvs commit: xml-xalan/c/src/XPath XPathEnvSupportDefault.cpp
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