summaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/parser/expat/elements.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-07-24 12:40:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-07-24 12:40:01 +0200
commit94cba986108a0e0f42295572ca42c356d59328d7 (patch)
treeada11354802ef98572cfc7041075766666e472be /libxsd/xsd/cxx/parser/expat/elements.hxx
parent19a0faf4316a89e0a4ced32b8d3ea4b4ba9c3b18 (diff)
Fix bug in C++/Parser Expat support
Diffstat (limited to 'libxsd/xsd/cxx/parser/expat/elements.hxx')
-rw-r--r--libxsd/xsd/cxx/parser/expat/elements.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libxsd/xsd/cxx/parser/expat/elements.hxx b/libxsd/xsd/cxx/parser/expat/elements.hxx
index 86e7a73..c03bf1a 100644
--- a/libxsd/xsd/cxx/parser/expat/elements.hxx
+++ b/libxsd/xsd/cxx/parser/expat/elements.hxx
@@ -51,7 +51,9 @@ namespace xsd
}
};
- typedef std::unique_ptr<XML_ParserStruct> parser_auto_ptr;
+ typedef
+ std::unique_ptr<XML_ParserStruct, parser_deleter>
+ parser_auto_ptr;
#else
// Simple auto pointer for Expat's XML_Parser object.
//