aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-29 12:01:02 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commit7d346bba37dfe95c858fa727bbc63bbc42074f30 (patch)
treec1cfaffcbe3f9bfd1b41ddef24d26372a8a2fb4b /doc
parent5574c81a3c60266d023d18dfc115803da8b12e6b (diff)
downloadpaludis-7d346bba37dfe95c858fa727bbc63bbc42074f30.tar.gz
paludis-7d346bba37dfe95c858fa727bbc63bbc42074f30.tar.xz
in repository to requirements
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cplusplus/examples/example_dep_spec.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/cplusplus/examples/example_dep_spec.cc b/doc/api/cplusplus/examples/example_dep_spec.cc
index ba65dae13..90d45bffe 100644
--- a/doc/api/cplusplus/examples/example_dep_spec.cc
+++ b/doc/api/cplusplus/examples/example_dep_spec.cc
@@ -101,9 +101,9 @@ int main(int argc, char * argv[])
if (spec.slot_requirement_ptr())
cout << " " << left << setw(24) << "Slot:" << " " << *spec.slot_requirement_ptr() << endl;
- if (spec.in_repository_ptr())
+ if (spec.in_repository_constraint())
cout << " " << left << setw(24) << "In repository:" << " " <<
- *spec.in_repository_ptr() << endl;
+ spec.in_repository_constraint()->name() << endl;
if (spec.from_repository_ptr())
cout << " " << left << setw(24) << "From repository:" << " " <<