diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-06-02 04:27:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-06-02 04:27:02 +0200 |
commit | 4d3692a500bd5cf2bd500e1eb0632850ca8260ab (patch) | |
tree | 410bb4070e6e766531d13e3481156f1013bd08dc /libxsd/xsd/cxx/tree/list.hxx | |
parent | 0d4790ae071990d18883c0fb799b938ff53b5c62 (diff) |
Do not store flags in containers
Diffstat (limited to 'libxsd/xsd/cxx/tree/list.hxx')
-rw-r--r-- | libxsd/xsd/cxx/tree/list.hxx | 20 |
1 files changed, 11 insertions, 9 deletions
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<T> (f, c) + list (container* c = 0) + : sequence<T> (c) { } @@ -60,8 +60,8 @@ namespace xsd template <typename S> list (istream<S>&, flags = 0, container* c = 0); - list (const list<T, C, ST, false>& v, flags f = 0, container* c = 0) - : sequence<T> (v, f, c) + list (const list<T, C, ST, false>& l, flags f = 0, container* c = 0) + : sequence<T> (l, f, c) { } @@ -77,7 +77,9 @@ namespace xsd private: void - init (const std::basic_string<C>&, const xercesc::DOMElement*); + init (const std::basic_string<C>&, + const xercesc::DOMElement*, + flags); }; @@ -88,8 +90,8 @@ namespace xsd { public: explicit - list (flags f = 0, container* c = 0) - : sequence<T> (f, c) + list (container* c = 0) + : sequence<T> (c) { } @@ -108,8 +110,8 @@ namespace xsd template <typename S> list (istream<S>&, flags = 0, container* c = 0); - list (const list<T, C, ST, true>& s, flags f = 0, container* c = 0) - : sequence<T> (s, f, c) + list (const list<T, C, ST, true>& l, flags f = 0, container* c = 0) + : sequence<T> (l, f, c) { } |