From d8f2d1a627160a47f028ebfb58e8bf1317a36b98 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 13 Jan 2011 11:32:49 +0200 Subject: Cosmetic changes --- container/driver.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'container/driver.cxx') 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; -- cgit v1.1