aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-29 12:40:53 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commit63ca918976505d042587bf7591dfce41b206b8cc (patch)
treef54fcf53236ecd673dffe431b3df5cbca3ffe9f0 /doc
parent7d346bba37dfe95c858fa727bbc63bbc42074f30 (diff)
downloadpaludis-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.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 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:" << " " <<