aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-21 12:13:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-21 12:13:09 +0200
commit0e5fab0664fb36c6253dfd7bb86d8985d1b349ef (patch)
tree5e8af14a23718738f1b7c0f6a28edb252d965e69
parent8ffa44b96b668b0286aa73cc331b59d4cef38d48 (diff)
Additional fix for bug in C++/Parser Expat support
-rw-r--r--libxsd/xsd/cxx/parser/expat/elements.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libxsd/xsd/cxx/parser/expat/elements.txx b/libxsd/xsd/cxx/parser/expat/elements.txx
index ef9adb7..8df4d67 100644
--- a/libxsd/xsd/cxx/parser/expat/elements.txx
+++ b/libxsd/xsd/cxx/parser/expat/elements.txx
@@ -279,7 +279,7 @@ namespace xsd
{
parser_auto_ptr parser (XML_ParserCreateNS (0, XML_Char (' ')));
- if (parser == 0)
+ if (parser.get () == 0)
throw std::bad_alloc ();
if (system_id || public_id)