aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/tree
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-01-20 16:56:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-01-20 16:56:15 +0200
commit05abefd3365abd8f4e80b7723e426824888feba8 (patch)
treeb40762adafbac40f9067346323791ca22a553f08 /examples/cxx/tree
parent3bf42ed8ccc93a3ff5fdabb9153b887018075acc (diff)
Cosmetic changes
Diffstat (limited to 'examples/cxx/tree')
-rw-r--r--examples/cxx/tree/performance/parsing.cxx2
-rw-r--r--examples/cxx/tree/performance/serialization.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/cxx/tree/performance/parsing.cxx b/examples/cxx/tree/performance/parsing.cxx
index f68b57c..8d662eb 100644
--- a/examples/cxx/tree/performance/parsing.cxx
+++ b/examples/cxx/tree/performance/parsing.cxx
@@ -42,7 +42,7 @@ parsing (const char* file, unsigned long iter, bool validate)
ifs.exceptions (ios_base::failbit);
ifs.open (file, ios::in | ios::ate);
- std::size_t size (ifs.tellg ());
+ size_t size (ifs.tellg ());
ifs.seekg (0, ios::beg);
char* buf = new char[size];
diff --git a/examples/cxx/tree/performance/serialization.cxx b/examples/cxx/tree/performance/serialization.cxx
index f888d40..12c43ae 100644
--- a/examples/cxx/tree/performance/serialization.cxx
+++ b/examples/cxx/tree/performance/serialization.cxx
@@ -58,7 +58,7 @@ serialization (const char* file, unsigned long iter)
xml_schema::flags::dont_pretty_print |
xml_schema::flags::no_xml_declaration);
- std::size_t size (ft.getLen ());
+ size_t size (ft.getLen ());
cerr << " document size: " << size << " bytes" << endl
<< " iterations: " << iter << endl;