aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx')
-rw-r--r--examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx b/examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx
index eee573f..d88edf9 100644
--- a/examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx
+++ b/examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx
@@ -50,7 +50,7 @@ namespace email
//
xml_schema::parser_context& ctx = _context ();
p->pre ();
- p->_pre_impl (ctx);
+ ctx.nested_parser (p);
}
}
}
@@ -64,10 +64,6 @@ namespace email
{
if (ns == "http://www.codesynthesis.com/email")
{
- // Note that we don't call _post_impl() (corresponding to
- // _pre_impl()) here. It is called automatically by the
- // infrastructure.
- //
envelope* env = envelope_base_pimpl_state_.envelope_;
if (name == "text")