aboutsummaryrefslogtreecommitdiff
path: root/container/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-01-13 11:32:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-01-13 11:32:49 +0200
commitd8f2d1a627160a47f028ebfb58e8bf1317a36b98 (patch)
tree76835818e3e9a6cf0cfe7b94bfdbd01fd1068655 /container/driver.cxx
parentab51fa65f9e8cad4ef5a1db85029dfe6404e9a1f (diff)
Cosmetic changes
Diffstat (limited to 'container/driver.cxx')
-rw-r--r--container/driver.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/container/driver.cxx b/container/driver.cxx
index 07b3bd9..109fec0 100644
--- a/container/driver.cxx
+++ b/container/driver.cxx
@@ -23,7 +23,7 @@ print (const person& p)
// Print nicknames.
//
- for (person::name_list::const_iterator i (p.nicknames ().begin ());
+ for (names::const_iterator i (p.nicknames ().begin ());
i != p.nicknames ().end (); ++i)
{
cout << " nickname: " << *i << endl;
@@ -31,7 +31,7 @@ print (const person& p)
// Print emails.
//
- for (person::email_set::const_iterator i (p.emails ().begin ());
+ for (emails::const_iterator i (p.emails ().begin ());
i != p.emails ().end (); ++i)
{
cout << " email: " << *i << endl;
@@ -39,7 +39,7 @@ print (const person& p)
// Print weights.
//
- for (person::age_weight_map::const_iterator i (p.age_weight ().begin ());
+ for (age_weight_map::const_iterator i (p.age_weight ().begin ());
i != p.age_weight ().end (); ++i)
{
cout << " weight at " << i->first << ": " << i->second << endl;