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/tree/stream-extraction-map.txx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libxsd/xsd/cxx/tree/stream-extraction-map.txx') diff --git a/libxsd/xsd/cxx/tree/stream-extraction-map.txx b/libxsd/xsd/cxx/tree/stream-extraction-map.txx index 17b3fc5..156f9c0 100644 --- a/libxsd/xsd/cxx/tree/stream-extraction-map.txx +++ b/libxsd/xsd/cxx/tree/stream-extraction-map.txx @@ -233,7 +233,7 @@ namespace xsd } template - std::auto_ptr stream_extraction_map:: + XSD_AUTO_PTR stream_extraction_map:: extract (istream& s, flags f, container* c) { std::basic_string ns, name; @@ -303,10 +303,10 @@ namespace xsd // // template - std::auto_ptr + XSD_AUTO_PTR extractor_impl (istream& s, flags f, container* c) { - return std::auto_ptr (new T (s, f, c)); + return XSD_AUTO_PTR (new T (s, f, c)); } -- cgit v1.1