summaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/parser/expat/elements.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsd/xsd/cxx/parser/expat/elements.hxx')
-rw-r--r--libxsd/xsd/cxx/parser/expat/elements.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/libxsd/xsd/cxx/parser/expat/elements.hxx b/libxsd/xsd/cxx/parser/expat/elements.hxx
index 284be5c..bd0b84c 100644
--- a/libxsd/xsd/cxx/parser/expat/elements.hxx
+++ b/libxsd/xsd/cxx/parser/expat/elements.hxx
@@ -1,5 +1,4 @@
// file : xsd/cxx/parser/expat/elements.hxx
-// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_PARSER_EXPAT_ELEMENTS_HXX
@@ -87,6 +86,12 @@ namespace xsd
return parser_;
}
+ void
+ reset (XML_Parser parser)
+ {
+ *this = parser;
+ }
+
private:
parser_auto_ptr (const parser_auto_ptr&);