diff options
Diffstat (limited to 'xml/parser.hxx')
-rw-r--r-- | xml/parser.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/xml/parser.hxx b/xml/parser.hxx index 2c42d4a..51d589e 100644 --- a/xml/parser.hxx +++ b/xml/parser.hxx @@ -95,8 +95,6 @@ namespace xml receive_characters | receive_attributes_map; - ~parser (); - // Parse std::istream. Input name is used in diagnostics to identify // the document being parsed. std::ios_base::failure exception is // used to report io errors (badbit and failbit). @@ -113,10 +111,15 @@ namespace xml const std::string& input_name, feature_type = receive_default); - const std::string& input_name () const {return iname_;} + ~parser (); + + private: + parser (const parser&); + parser& operator= (const parser&); + // Parsing events. // public: |