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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to