aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/hybrid/wildcard/envelope-pimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cxx/hybrid/wildcard/envelope-pimpl.cxx')
-rw-r--r--examples/cxx/hybrid/wildcard/envelope-pimpl.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/cxx/hybrid/wildcard/envelope-pimpl.cxx b/examples/cxx/hybrid/wildcard/envelope-pimpl.cxx
index 16bd2e5..bb5827c 100644
--- a/examples/cxx/hybrid/wildcard/envelope-pimpl.cxx
+++ b/examples/cxx/hybrid/wildcard/envelope-pimpl.cxx
@@ -61,7 +61,7 @@ namespace email
//
xml_schema::parser_context& ctx = _context ();
p->pre ();
- p->_pre_impl (ctx);
+ ctx.nested_parser (p);
}
}
}
@@ -75,10 +75,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")