aboutsummaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-14 17:40:39 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-14 18:06:37 +0100
commit7ce0a00a008983de8a8e61d33d41a4f41147db9b (patch)
treeba35068b18f5745145d0eefe02df85c0cd0aa5cc /doc/api
parent2bff9772cc069fe98e281432bddd0b35c1e934e4 (diff)
downloadpaludis-7ce0a00a008983de8a8e61d33d41a4f41147db9b.tar.gz
paludis-7ce0a00a008983de8a8e61d33d41a4f41147db9b.tar.xz
Refactor to allow subslots
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/cplusplus/examples/example_metadata_key.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/cplusplus/examples/example_metadata_key.cc b/doc/api/cplusplus/examples/example_metadata_key.cc
index 264317b7c..deffb0a92 100644
--- a/doc/api/cplusplus/examples/example_metadata_key.cc
+++ b/doc/api/cplusplus/examples/example_metadata_key.cc
@@ -62,10 +62,10 @@ namespace
cout << indent << left << setw(30) << " Value:" << " " << key.parse_value() << endl;
}
- void visit(const MetadataValueKey<SlotName> & key)
+ void visit(const MetadataValueKey<Slot> & key)
{
cout << indent << left << setw(30) << " Class:" << " " << "MetadataValueKey<SlotName>" << endl;
- cout << indent << left << setw(30) << " Value:" << " " << key.parse_value() << endl;
+ cout << indent << left << setw(30) << " Value:" << " " << key.parse_value().raw_value() << endl;
}
void visit(const MetadataValueKey<long> & key)