From 0fdf19714613a82a184f4f6e75fb9a4f9b62f18a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 19 Jan 2014 10:05:08 +0200 Subject: Use std::unique_ptr instead of std::auto_ptr in C++11 mode --- libxsd/xsd/cxx/xml/dom/serialization-source.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libxsd/xsd/cxx/xml/dom/serialization-source.hxx') diff --git a/libxsd/xsd/cxx/xml/dom/serialization-source.hxx b/libxsd/xsd/cxx/xml/dom/serialization-source.hxx index 9bfd27b..3b23220 100644 --- a/libxsd/xsd/cxx/xml/dom/serialization-source.hxx +++ b/libxsd/xsd/cxx/xml/dom/serialization-source.hxx @@ -53,7 +53,7 @@ namespace xsd const unsigned long dont_pretty_print = 0x00020000UL; template - xml::dom::auto_ptr + XSD_DOM_AUTO_PTR serialize (const std::basic_string& root_element, const std::basic_string& root_element_namespace, const namespace_infomap& map, @@ -62,7 +62,7 @@ namespace xsd // This one helps Sun C++ to overcome its fears. // template - inline xml::dom::auto_ptr + inline XSD_DOM_AUTO_PTR serialize (const C* root_element, const C* root_element_namespace, const namespace_infomap& map, -- cgit v1.1