+ terminate xerces at program exit

This commit is contained in:
wmayer
2016-03-09 15:52:42 +01:00
parent c910a3375a
commit ff5e147f5e
5 changed files with 22 additions and 2 deletions

View File

@@ -114,6 +114,8 @@ public :
/// string which holds the UTF-8 form
std::string str;
static void terminate();
private :
static std::auto_ptr<XERCES_CPP_NAMESPACE::XMLTranscoder> transcoder;
// This is the local code page form of the string.
@@ -231,6 +233,8 @@ public :
/// Getter method
const XMLCh* unicodeForm() const;
static void terminate();
private :
std::basic_string<XMLCh> str;
static std::auto_ptr<XERCES_CPP_NAMESPACE::XMLTranscoder> transcoder;