aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-04 23:30:07 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-04 23:30:07 +0100
commit27d57d9ed2f2a24a86b91029638563cd8ccfabab (patch)
treecc8bd72c1be1741d3206735ca591bffac9c49d75 /doc
parentb5280212886a3a31703600c12608c5a5a8be5555 (diff)
downloadpaludis-27d57d9ed2f2a24a86b91029638563cd8ccfabab.tar.gz
paludis-27d57d9ed2f2a24a86b91029638563cd8ccfabab.tar.xz
Contents is not a MetadataKey
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cplusplus/examples/example_metadata_key.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/doc/api/cplusplus/examples/example_metadata_key.cc b/doc/api/cplusplus/examples/example_metadata_key.cc
index 02f4b3272..fffa6ea13 100644
--- a/doc/api/cplusplus/examples/example_metadata_key.cc
+++ b/doc/api/cplusplus/examples/example_metadata_key.cc
@@ -100,15 +100,6 @@ namespace
cout << indent << left << setw(30) << " Value:" << " " << pretty_print_time(key.parse_value().seconds()) << endl;
}
- void visit(const MetadataValueKey<std::shared_ptr<const Contents> > &)
- {
- cout << indent << left << setw(30) << " Class:" << " " <<
- "MetadataValueKey<std::shared_ptr<const Contents> > " << endl;
- /* We won't display the contents of the contents key here, since
- * it involves creating another visitor. See \ref
- * example_contents.cc "example_contents.cc" for that. */
- }
-
void visit(const MetadataValueKey<std::shared_ptr<const Choices> > &)
{
cout << indent << left << setw(30) << " Class:" << " " <<