aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_dep_spec.cc
diff options
context:
space:
mode:
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 71b6c93..8b72b16 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_requirement_ptr())
- cout << " " << left << setw(24) << "Slot:" << " " << *spec.slot_requirement_ptr() << endl;
+ if (spec.exact_slot_constraint())
+ cout << " " << left << setw(24) << "Slot:" << " " << spec.exact_slot_constraint()->name() << endl;
if (spec.in_repository_constraint())
cout << " " << left << setw(24) << "In repository:" << " " <<