From 4d3692a500bd5cf2bd500e1eb0632850ca8260ab Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 2 Jun 2011 04:27:02 +0200 Subject: Do not store flags in containers --- libxsd/xsd/cxx/tree/list.hxx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'libxsd/xsd/cxx/tree/list.hxx') diff --git a/libxsd/xsd/cxx/tree/list.hxx b/libxsd/xsd/cxx/tree/list.hxx index 30416e6..0a455cf 100644 --- a/libxsd/xsd/cxx/tree/list.hxx +++ b/libxsd/xsd/cxx/tree/list.hxx @@ -39,8 +39,8 @@ namespace xsd { public: explicit - list (flags f = 0, container* c = 0) - : sequence (f, c) + list (container* c = 0) + : sequence (c) { } @@ -60,8 +60,8 @@ namespace xsd template list (istream&, flags = 0, container* c = 0); - list (const list& v, flags f = 0, container* c = 0) - : sequence (v, f, c) + list (const list& l, flags f = 0, container* c = 0) + : sequence (l, f, c) { } @@ -77,7 +77,9 @@ namespace xsd private: void - init (const std::basic_string&, const xercesc::DOMElement*); + init (const std::basic_string&, + const xercesc::DOMElement*, + flags); }; @@ -88,8 +90,8 @@ namespace xsd { public: explicit - list (flags f = 0, container* c = 0) - : sequence (f, c) + list (container* c = 0) + : sequence (c) { } @@ -108,8 +110,8 @@ namespace xsd template list (istream&, flags = 0, container* c = 0); - list (const list& s, flags f = 0, container* c = 0) - : sequence (s, f, c) + list (const list& l, flags f = 0, container* c = 0) + : sequence (l, f, c) { } -- cgit v1.1