From 665b6242fc338bb21ee8ac5131012cf6d230ed1e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 31 Aug 2016 12:57:38 +0200 Subject: Work around symbol exporting issues, throw() deprecation --- xml/serializer.ixx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'xml/serializer.ixx') diff --git a/xml/serializer.ixx b/xml/serializer.ixx index 59d329f..5336c3f 100644 --- a/xml/serializer.ixx +++ b/xml/serializer.ixx @@ -6,6 +6,24 @@ namespace xml { + // serialization + // + inline serialization:: + serialization (const std::string& name, const std::string& d) + : name_ (name), description_ (d) + { + init (); + } + + inline serialization:: + serialization (const serializer& s, const std::string& d) + : name_ (s.output_name ()), description_ (d) + { + init (); + } + + // serializer + // inline void serializer:: start_element (const qname_type& qname) { -- cgit v1.1