aboutsummaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/parser/expat/elements.txx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsd/xsd/cxx/parser/expat/elements.txx')
-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)