aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_dep_spec.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-03-05 10:50:58 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-03-05 10:50:58 +0000
commitd0508b5817568ca9bbe742bfd848467716edc9ab (patch)
tree927ebd3fa199d63ab5d68b38008f8997c6f253d5 /doc/api/cplusplus/examples/example_dep_spec.cc
parenta814a9530164c0214a952654a864e0ae516c1f08 (diff)
downloadpaludis-d0508b5817568ca9bbe742bfd848467716edc9ab.tar.gz
paludis-d0508b5817568ca9bbe742bfd848467716edc9ab.tar.xz
Add :*/:= slot support
Diffstat (limited to 'doc/api/cplusplus/examples/example_dep_spec.cc')
-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 54fc87726..89a38a086 100644
--- a/doc/api/cplusplus/examples/example_dep_spec.cc
+++ b/doc/api/cplusplus/examples/example_dep_spec.cc
@@ -98,8 +98,8 @@ int main(int argc, char * argv[])
cout << endl;
}
- if (spec.slot_ptr())
- cout << " " << left << setw(24) << "Slot:" << " " << *spec.slot_ptr() << endl;
+ if (spec.slot_requirement_ptr())
+ cout << " " << left << setw(24) << "Slot:" << " " << *spec.slot_requirement_ptr() << endl;
if (spec.repository_ptr())
cout << " " << left << setw(24) << "Repository:" << " " << *spec.repository_ptr() << endl;