diff options
Diffstat (limited to 'xsd/cxx/tree/stream-extraction-source.cxx')
-rw-r--r-- | xsd/cxx/tree/stream-extraction-source.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xsd/cxx/tree/stream-extraction-source.cxx b/xsd/cxx/tree/stream-extraction-source.cxx index 53f508e..1378bc6 100644 --- a/xsd/cxx/tree/stream-extraction-source.cxx +++ b/xsd/cxx/tree/stream-extraction-source.cxx @@ -476,7 +476,7 @@ namespace CXX traverser.dispatch (a.type ()); } - if (a.optional () && !a.default_ ()) + if (a.optional_p () && !a.default_p ()) { os << "{" << "bool p;" |