aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_print_repository_metadata.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_print_repository_metadata.cc')
-rw-r--r--src/clients/cave/cmd_print_repository_metadata.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/cave/cmd_print_repository_metadata.cc b/src/clients/cave/cmd_print_repository_metadata.cc
index 3796ef941..2a5aa2406 100644
--- a/src/clients/cave/cmd_print_repository_metadata.cc
+++ b/src/clients/cave/cmd_print_repository_metadata.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2010 Ciaran McCreesh
+ * Copyright (c) 2010, 2011 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -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>
@@ -104,7 +104,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()) ;