aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_info.cc')
-rw-r--r--src/clients/cave/cmd_info.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/cave/cmd_info.cc b/src/clients/cave/cmd_info.cc
index 09261bd..a106add 100644
--- a/src/clients/cave/cmd_info.cc
+++ b/src/clients/cave/cmd_info.cc
@@ -40,7 +40,7 @@
#include <paludis/metadata_key.hh>
#include <paludis/util/set.hh>
#include <paludis/util/wrapped_forward_iterator.hh>
-#include <paludis/util/simple_visitor_cast.hh>
+#include <paludis/util/visitor_cast.hh>
#include <paludis/util/pretty_print.hh>
#include <paludis/util/timestamp.hh>
#include <paludis/util/make_null_shared_ptr.hh>
@@ -92,8 +92,8 @@ namespace
{
bool operator() (const std::shared_ptr<const MetadataKey> & a, const std::shared_ptr<const MetadataKey> & b) const
{
- bool a_is_section(simple_visitor_cast<const MetadataSectionKey>(*a));
- bool b_is_section(simple_visitor_cast<const MetadataSectionKey>(*b));
+ bool a_is_section(visitor_cast<const MetadataSectionKey>(*a));
+ bool b_is_section(visitor_cast<const MetadataSectionKey>(*b));
if (a_is_section != b_is_section)
return b_is_section;
if (a->type() != b->type())