summaryrefslogtreecommitdiff
path: root/examples/cxx/parser/wildcard
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/parser/wildcard
parent3bf42ed8ccc93a3ff5fdabb9153b887018075acc (diff)
Cosmetic changes
Diffstat (limited to 'examples/cxx/parser/wildcard')
-rw-r--r--examples/cxx/parser/wildcard/driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cxx/parser/wildcard/driver.cxx b/examples/cxx/parser/wildcard/driver.cxx
index fb87232..7bd63eb 100644
--- a/examples/cxx/parser/wildcard/driver.cxx
+++ b/examples/cxx/parser/wildcard/driver.cxx
@@ -31,7 +31,7 @@ public:
virtual void
post_binary ()
{
- std::auto_ptr<xml_schema::buffer> buf (post_base64_binary ());
+ auto_ptr<xml_schema::buffer> buf (post_base64_binary ());
cerr << "size: " << buf->size () << endl
<< endl;
@@ -181,7 +181,7 @@ public:
}
private:
- std::size_t depth_;
+ size_t depth_;
xml_schema::parser_base* cur_;
// Parsers for the unsigned int, string and binary types.