aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-29 15:26:48 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commita004eeed5dda3432dcb1a4c0a865ae24daae4fd3 (patch)
tree69188ac33eeb2acd1860315e7f794a42f19e6358 /doc
parent52a4c781098800f3b2831134f5e94434729c46a5 (diff)
downloadpaludis-a004eeed5dda3432dcb1a4c0a865ae24daae4fd3.tar.gz
paludis-a004eeed5dda3432dcb1a4c0a865ae24daae4fd3.tar.xz
installable to repository to requirements
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cplusplus/examples/example_dep_spec.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/cplusplus/examples/example_dep_spec.cc b/doc/api/cplusplus/examples/example_dep_spec.cc
index 6a7fd690d..71b6c936b 100644
--- a/doc/api/cplusplus/examples/example_dep_spec.cc
+++ b/doc/api/cplusplus/examples/example_dep_spec.cc
@@ -118,10 +118,10 @@ int main(int argc, char * argv[])
spec.installable_to_path_constraint()->path() << ", " <<
spec.installable_to_path_constraint()->include_masked() << endl;
- if (spec.installable_to_repository_ptr())
+ if (spec.installable_to_repository_constraint())
cout << " " << left << setw(24) << "Installable to repository:" << " " <<
- spec.installable_to_repository_ptr()->repository() << ", " <<
- spec.installable_to_repository_ptr()->include_masked() << endl;
+ spec.installable_to_repository_constraint()->name() << ", " <<
+ spec.installable_to_repository_constraint()->include_masked() << endl;
if (spec.additional_requirements_ptr() && ! spec.additional_requirements_ptr()->empty())
{