aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_metadata_key.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-12 19:29:09 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-13 00:50:37 +0000
commit3ff3aa41ac733cb8a0c0d7e532b3cdd56673ddd0 (patch)
tree1159c5580577715e4279de0c8a39fe38738ae325 /doc/api/cplusplus/examples/example_metadata_key.cc
parentc4b5049c5c9064c0f694440f91136695b6e7e193 (diff)
downloadpaludis-3ff3aa41ac733cb8a0c0d7e532b3cdd56673ddd0.tar.gz
paludis-3ff3aa41ac733cb8a0c0d7e532b3cdd56673ddd0.tar.xz
New, simpler visitor framework.
Convert everything except the tree things, to begin with.
Diffstat (limited to 'doc/api/cplusplus/examples/example_metadata_key.cc')
-rw-r--r--doc/api/cplusplus/examples/example_metadata_key.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/api/cplusplus/examples/example_metadata_key.cc b/doc/api/cplusplus/examples/example_metadata_key.cc
index 381a42622..fcda0fa38 100644
--- a/doc/api/cplusplus/examples/example_metadata_key.cc
+++ b/doc/api/cplusplus/examples/example_metadata_key.cc
@@ -34,8 +34,7 @@ namespace
/* We use this visitor to display extra information about a MetadataKey,
* depending upon its type. */
- class MetadataKeyInformationVisitor :
- public ConstVisitor<MetadataKeyVisitorTypes>
+ class MetadataKeyInformationVisitor
{
private:
/* Various methods need a formatter. See \ref example_stringify_formatter.cc