Skip to content
Snippets Groups Projects
Commit 1ae401d8 authored by Tinny Ng's avatar Tinny Ng
Browse files

DOM L3: move the operator delete to DOMDocumentImpl.hpp

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@173905 13f79535-47bb-0310-9956-ffa450edef68
parent 389464c7
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,9 @@ ...@@ -56,6 +56,9 @@
/* /*
* $Log$ * $Log$
* Revision 1.6 2002/06/25 16:05:24 tng
* DOM L3: move the operator delete to DOMDocumentImpl.hpp
*
* Revision 1.5 2002/05/28 12:57:17 tng * Revision 1.5 2002/05/28 12:57:17 tng
* Fix typo. * Fix typo.
* *
...@@ -212,18 +215,6 @@ const char* const Xerces_DLLName = "xerces-c_" Xerces_DLLVersionStr "D"; ...@@ -212,18 +215,6 @@ const char* const Xerces_DLLName = "xerces-c_" Xerces_DLLVersionStr "D";
const char* const Xerces_DLLName = "xerces-c_" Xerces_DLLVersionStr; const char* const Xerces_DLLName = "xerces-c_" Xerces_DLLVersionStr;
#endif #endif
// ---------------------------------------------------------------------------
// For DOM:
// Bypass compiler warning:
// no matching operator delete found; memory will not be freed if initialization throws an exception
// ---------------------------------------------------------------------------
#if _MSC_VER >= 1200 /* VC++ 6.0 */
class DOMDocument;
inline void operator delete(void* ptr, DOMDocument *doc)
{
return;
}
#endif
#endif //VCPPDEFS_HPP #endif //VCPPDEFS_HPP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment