aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_print_id_metadata.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_print_id_metadata.cc')
-rw-r--r--src/clients/cave/cmd_print_id_metadata.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_print_id_metadata.cc b/src/clients/cave/cmd_print_id_metadata.cc
index 9607425..2b3b78e 100644
--- a/src/clients/cave/cmd_print_id_metadata.cc
+++ b/src/clients/cave/cmd_print_id_metadata.cc
@@ -22,7 +22,7 @@
#include "exceptions.hh"
#include <paludis/args/args.hh>
#include <paludis/args/do_help.hh>
-#include <paludis/util/simple_visitor_cast.hh>
+#include <paludis/util/visitor_cast.hh>
#include <paludis/util/set.hh>
#include <paludis/util/iterator_funcs.hh>
#include <paludis/util/options.hh>
@@ -121,7 +121,7 @@ namespace
cout << format_plain_metadata_key(k, name_prefix, cmdline.a_format.argument());
} while (false);
- const MetadataSectionKey * section(simple_visitor_cast<const MetadataSectionKey>(*k));
+ const MetadataSectionKey * section(visitor_cast<const MetadataSectionKey>(*k));
if (section)
{
for (MetadataSectionKey::MetadataConstIterator s(section->begin_metadata()), s_end(section->end_metadata()) ;