summaryrefslogtreecommitdiff
path: root/examples/cxx/tree
diff options
context:
space:
mode:
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;