summaryrefslogtreecommitdiff
path: root/xsd/cxx/elements.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-01-19 10:05:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-01-19 10:06:32 +0200
commit0fdf19714613a82a184f4f6e75fb9a4f9b62f18a (patch)
tree93bb2df0f9d9eab44d36dedf29d4df500ecefcbc /xsd/cxx/elements.hxx
parent45db924dfc19b49b7930522dbddd123fb9575e32 (diff)
Use std::unique_ptr instead of std::auto_ptr in C++11 mode
Diffstat (limited to 'xsd/cxx/elements.hxx')
-rw-r--r--xsd/cxx/elements.hxx9
1 files changed, 9 insertions, 0 deletions
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_;