diff options
Diffstat (limited to 'xsde/cxx/hybrid/serializer-source.cxx')
-rw-r--r-- | xsde/cxx/hybrid/serializer-source.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xsde/cxx/hybrid/serializer-source.cxx b/xsde/cxx/hybrid/serializer-source.cxx index b9099f6..9377c5f 100644 --- a/xsde/cxx/hybrid/serializer-source.cxx +++ b/xsde/cxx/hybrid/serializer-source.cxx @@ -1044,17 +1044,17 @@ namespace CXX String access (access_seq (a)); - if (a.optional ()) + if (a.optional_p ()) { os << "bool " << s << "::" << endl << espresent (a) << " ()" << "{"; - if (a.default_ ()) + if (a.default_p ()) { Boolean omit (options.value<CLI::omit_default_attributes> ()); - if (a.fixed ()) + if (a.fixed_p ()) os << "return " << (omit ? "false" : "true") << ";"; else { |