summaryrefslogtreecommitdiff
path: root/examples/cxx/tree/performance/serialization.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-13 11:29:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-13 11:29:26 +0200
commitafebd79d44b75aed3b38e867c65330ba80ddc0ee (patch)
tree7fc95caae113884defce1ac712f93327f58f72e0 /examples/cxx/tree/performance/serialization.cxx
parent0b21758fcd9f3127e30a1c9172c4c27b46a2b957 (diff)
Extended the streaming example
It now shows how to perform stream-oriented, partially in-memory XML processing using the C++/Tree mapping.
Diffstat (limited to 'examples/cxx/tree/performance/serialization.cxx')
-rw-r--r--examples/cxx/tree/performance/serialization.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cxx/tree/performance/serialization.cxx b/examples/cxx/tree/performance/serialization.cxx
index 5ad6654..f888d40 100644
--- a/examples/cxx/tree/performance/serialization.cxx
+++ b/examples/cxx/tree/performance/serialization.cxx
@@ -116,7 +116,7 @@ serialization (const char* file, unsigned long iter)
writer->writeNode (&ft, *doc);
#endif
- eh.throw_if_failed<xml_schema::parsing> ();
+ eh.throw_if_failed<xml_schema::serialization> ();
}
os::time end;