Skip to content
Snippets Groups Projects
  • Neil Graham's avatar
    The PanicHandler interface should not inherit from XMemory. · f110e940
    Neil Graham authored
    The reason for this is that the default implementation does not
    allocate memory dynamically and if such an inheritance relation existed,
    a user would have to be very careful about installing a memory
    handler on their own PanicHandler before handing it to the
    XMLPlatformUtils::Initialize() method, since otherwise
    the (uninitialized) XMLPlatformUtils::fgMemoryManager would be used
    upon construction of their PanicHandler implementation.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175028 13f79535-47bb-0310-9956-ffa450edef68
    f110e940