diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-01-20 16:56:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-01-20 16:56:15 +0200 |
commit | 05abefd3365abd8f4e80b7723e426824888feba8 (patch) | |
tree | b40762adafbac40f9067346323791ca22a553f08 /examples/cxx/parser/performance | |
parent | 3bf42ed8ccc93a3ff5fdabb9153b887018075acc (diff) |
Cosmetic changes
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]; |