aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_show.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_show.cc')
-rw-r--r--src/clients/cave/cmd_show.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/cave/cmd_show.cc b/src/clients/cave/cmd_show.cc
index 99b7137..47e44b5 100644
--- a/src/clients/cave/cmd_show.cc
+++ b/src/clients/cave/cmd_show.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/indirect_iterator-impl.hh>
#include <paludis/util/pretty_print.hh>
#include <paludis/util/timestamp.hh>
@@ -253,8 +253,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())