aboutsummaryrefslogtreecommitdiff
path: root/paludis/ndbam_unmerger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/ndbam_unmerger.cc')
-rw-r--r--paludis/ndbam_unmerger.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/ndbam_unmerger.cc b/paludis/ndbam_unmerger.cc
index c2397d4..71aefb3 100644
--- a/paludis/ndbam_unmerger.cc
+++ b/paludis/ndbam_unmerger.cc
@@ -35,7 +35,7 @@
#include <paludis/util/strip.hh>
#include <paludis/util/wrapped_forward_iterator.hh>
#include <paludis/util/make_named_values.hh>
-#include <paludis/util/simple_visitor_cast.hh>
+#include <paludis/util/visitor_cast.hh>
#include <paludis/util/safe_ifstream.hh>
#include <paludis/util/set.hh>
#include <paludis/util/timestamp.hh>
@@ -193,7 +193,7 @@ namespace
if (m == h.end_metadata())
throw InternalError(PALUDIS_HERE, "Expected key '" + r + "' not found");
- const T_ * const c(simple_visitor_cast<const T_>(**m));
+ const T_ * const c(visitor_cast<const T_>(**m));
if (! c)
throw InternalError(PALUDIS_HERE, "Key '" + r + "' is of wrong type");