rename persons to people
diff --git a/examples/list_people.cc b/examples/list_people.cc
index 3daa315..68e5666 100644
--- a/examples/list_people.cc
+++ b/examples/list_people.cc
@@ -8,8 +8,8 @@
// Iterates though all people in the AddressBook and prints info about them.
void ListPeople(const tutorial::AddressBook& address_book) {
- for (int i = 0; i < address_book.persons_size(); i++) {
- const tutorial::Person& person = address_book.persons(i);
+ for (int i = 0; i < address_book.people_size(); i++) {
+ const tutorial::Person& person = address_book.people(i);
cout << "Person ID: " << person.id() << endl;
cout << " Name: " << person.name() << endl;