aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_package_id.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-28 19:28:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-01 03:57:52 +0000
commit092228a814cd6700b97112b5dcf931c80b6b9431 (patch)
tree4e52622c8ee797a645536d642e98e9292fa7b858 /doc/api/cplusplus/examples/example_package_id.cc
parent97c38fc7c02260a2d213d9a16d878a0410b9d57a (diff)
downloadpaludis-092228a814cd6700b97112b5dcf931c80b6b9431.tar.gz
paludis-092228a814cd6700b97112b5dcf931c80b6b9431.tar.xz
PackageID::repository_name rather than ::repository
Diffstat (limited to 'doc/api/cplusplus/examples/example_package_id.cc')
-rw-r--r--doc/api/cplusplus/examples/example_package_id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_package_id.cc b/doc/api/cplusplus/examples/example_package_id.cc
index 040caf166..22c27033e 100644
--- a/doc/api/cplusplus/examples/example_package_id.cc
+++ b/doc/api/cplusplus/examples/example_package_id.cc
@@ -59,7 +59,7 @@ int main(int argc, char * argv[])
/* Start by outputting some basic properties: */
cout << left << setw(30) << " Name:" << " " << (*i)->name() << endl;
cout << left << setw(30) << " Version:" << " " << (*i)->version() << endl;
- cout << left << setw(30) << " Repository Name:" << " " << (*i)->repository()->name() << endl;
+ cout << left << setw(30) << " Repository Name:" << " " << (*i)->repository_name() << endl;
/* The PackageID::canonical_form method should be used when
* outputting a package (the ostream << operator uses this). */