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 --- xsd/cxx/elements.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'xsd/cxx/elements.hxx') diff --git a/xsd/cxx/elements.hxx b/xsd/cxx/elements.hxx index f978f51..d0d07e7 100644 --- a/xsd/cxx/elements.hxx +++ b/xsd/cxx/elements.hxx @@ -159,10 +159,12 @@ namespace CXX schema_root (c.schema_root), schema_path (c.schema_path), options (c.options), + std (c.std), char_type (c.char_type), char_encoding (c.char_encoding), L (c.L), string_type (c.string_type), + auto_ptr (c.auto_ptr), string_literal_map (c.string_literal_map), type_exp (c.type_exp), inst_exp (c.inst_exp), @@ -184,10 +186,12 @@ namespace CXX schema_root (c.schema_root), schema_path (c.schema_path), options (c.options), + std (c.std), char_type (c.char_type), char_encoding (c.char_encoding), L (c.L), string_type (c.string_type), + auto_ptr (c.auto_ptr), string_literal_map (c.string_literal_map), type_exp (c.type_exp), inst_exp (c.inst_exp), @@ -328,10 +332,14 @@ namespace CXX options_type const& options; + cxx_version std; + String& char_type; String& char_encoding; String& L; // string literal prefix String& string_type; + String& auto_ptr; + StringLiteralMap const* string_literal_map; String& type_exp; @@ -350,6 +358,7 @@ namespace CXX String char_encoding_; String L_; String string_type_; + String auto_ptr_; String type_exp_; String inst_exp_; -- cgit v1.1