diff options
author | 2011-03-29 12:40:53 +0100 | |
---|---|---|
committer | 2011-04-04 08:32:59 +0100 | |
commit | 63ca918976505d042587bf7591dfce41b206b8cc (patch) | |
tree | f54fcf53236ecd673dffe431b3df5cbca3ffe9f0 /doc | |
parent | 7d346bba37dfe95c858fa727bbc63bbc42074f30 (diff) | |
download | paludis-63ca918976505d042587bf7591dfce41b206b8cc.tar.gz paludis-63ca918976505d042587bf7591dfce41b206b8cc.tar.xz |
from 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 90d45bffe..6ef4e86f7 100644 --- a/doc/api/cplusplus/examples/example_dep_spec.cc +++ b/doc/api/cplusplus/examples/example_dep_spec.cc @@ -105,9 +105,9 @@ int main(int argc, char * argv[]) cout << " " << left << setw(24) << "In repository:" << " " << spec.in_repository_constraint()->name() << endl; - if (spec.from_repository_ptr()) + if (spec.from_repository_constraint()) cout << " " << left << setw(24) << "From repository:" << " " << - *spec.from_repository_ptr() << endl; + spec.from_repository_constraint()->name() << endl; if (spec.installed_at_path_ptr()) cout << " " << left << setw(24) << "Installed at path:" << " " << |