aboutsummaryrefslogtreecommitdiff
path: root/xml/serializer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xml/serializer.hxx')
-rw-r--r--xml/serializer.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/xml/serializer.hxx b/xml/serializer.hxx
index 59dcdec..e0041f9 100644
--- a/xml/serializer.hxx
+++ b/xml/serializer.hxx
@@ -56,8 +56,6 @@ namespace xml
public:
typedef xml::qname qname_type;
- ~serializer ();
-
// Serialize to std::ostream. Output name is used in diagnostics to
// identify the document being serialized. std::ios_base::failure
// exception is used to report io errors (badbit and failbit). The
@@ -72,9 +70,15 @@ namespace xml
const std::string&
output_name () const {return oname_;}
+ ~serializer ();
+
+ private:
+ serializer (const serializer&);
+ serializer& operator= (const serializer&);
+
// Serialization functions.
//
- public:
+ public:
// Elements.
//