aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unpackaged/unpackaged_id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/unpackaged/unpackaged_id.cc')
-rw-r--r--paludis/repositories/unpackaged/unpackaged_id.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/repositories/unpackaged/unpackaged_id.cc b/paludis/repositories/unpackaged/unpackaged_id.cc
index 2d33885..0379f89 100644
--- a/paludis/repositories/unpackaged/unpackaged_id.cc
+++ b/paludis/repositories/unpackaged/unpackaged_id.cc
@@ -22,7 +22,7 @@
#include <paludis/repositories/unpackaged/unpackaged_stripper.hh>
#include <paludis/util/pimp-impl.hh>
#include <paludis/util/stringify.hh>
-#include <paludis/util/simple_visitor_cast.hh>
+#include <paludis/util/visitor_cast.hh>
#include <paludis/util/log.hh>
#include <paludis/util/hashes.hh>
#include <paludis/util/make_named_values.hh>
@@ -335,7 +335,7 @@ UnpackagedID::preserve_work_key() const
bool
UnpackagedID::supports_action(const SupportsActionTestBase & test) const
{
- return simple_visitor_cast<const SupportsActionTest<InstallAction> >(test);
+ return visitor_cast<const SupportsActionTest<InstallAction> >(test);
}
namespace
@@ -374,7 +374,7 @@ UnpackagedID::perform_action(Action & action) const
{
Timestamp build_start_time(Timestamp::now());
- const InstallAction * const install_action(simple_visitor_cast<const InstallAction>(action));
+ const InstallAction * const install_action(visitor_cast<const InstallAction>(action));
if (! install_action)
throw ActionFailedError("Unsupported action: " + action.simple_name());