aboutsummaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-29 13:23:41 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commitbc262ad74eb8d80eb979a5c5591b222d5fc1eb36 (patch)
tree6da646abbdea2c1948347abe2679fa1f79be1d15 /doc/api
parent63ca918976505d042587bf7591dfce41b206b8cc (diff)
downloadpaludis-bc262ad74eb8d80eb979a5c5591b222d5fc1eb36.tar.gz
paludis-bc262ad74eb8d80eb979a5c5591b222d5fc1eb36.tar.xz
installed at path to requirements
Diffstat (limited to 'doc/api')
-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 6ef4e86f7..d8256a55c 100644
--- a/doc/api/cplusplus/examples/example_dep_spec.cc
+++ b/doc/api/cplusplus/examples/example_dep_spec.cc
@@ -109,9 +109,9 @@ int main(int argc, char * argv[])
cout << " " << left << setw(24) << "From repository:" << " " <<
spec.from_repository_constraint()->name() << endl;
- if (spec.installed_at_path_ptr())
+ if (spec.installed_at_path_constraint())
cout << " " << left << setw(24) << "Installed at path:" << " " <<
- *spec.installed_at_path_ptr() << endl;
+ spec.installed_at_path_constraint()->path() << endl;
if (spec.installable_to_path_ptr())
cout << " " << left << setw(24) << "Installable to path:" << " " <<