diff options
author | 2011-03-29 12:01:02 +0100 | |
---|---|---|
committer | 2011-04-04 08:32:59 +0100 | |
commit | 7d346bba37dfe95c858fa727bbc63bbc42074f30 (patch) | |
tree | c1cfaffcbe3f9bfd1b41ddef24d26372a8a2fb4b /doc | |
parent | 5574c81a3c60266d023d18dfc115803da8b12e6b (diff) | |
download | paludis-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.cc | 4 |
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:" << " " << |