diff options
Diffstat (limited to 'examples/cxx/parser/performance')
-rw-r--r-- | examples/cxx/parser/performance/driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cxx/parser/performance/driver.cxx b/examples/cxx/parser/performance/driver.cxx index 4efafdb..422f2b9 100644 --- a/examples/cxx/parser/performance/driver.cxx +++ b/examples/cxx/parser/performance/driver.cxx @@ -116,7 +116,7 @@ main (int argc, char* argv[]) // for (int i (1); i < argc; ++i) { - std::string arg (argv[i]); + string arg (argv[i]); if (arg == "-v") { @@ -188,7 +188,7 @@ main (int argc, char* argv[]) 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]; |