dbertoni 01/09/18 11:22:05
Modified: c/src/Include STLHelper.hpp
Log:
Added new #ifdef for XALAN_CANNOT_DELETE_CONST.
Revision Changes Path
1.2 +4 -0 xml-xalan/c/src/Include/STLHelper.hpp
Index: STLHelper.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/Include/STLHelper.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- STLHelper.hpp 2001/04/30 18:06:19 1.1
+++ STLHelper.hpp 2001/09/18 18:22:05 1.2
@@ -212,7 +212,11 @@
result_type
operator()(argument_type thePair) const
{
+#if defined(XALAN_CANNOT_DELETE_CONST)
+ delete (T*)thePair.second;
+#else
delete thePair.second;
+#endif
}
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]