aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/resolve_common.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-21 16:41:57 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-21 16:41:57 +0000
commit6319f1e7cac9aac93c066f0b1318d71489987cf8 (patch)
tree88642cc0777e2d171adb2c922ed8cc408f152b2c /src/clients/cave/resolve_common.cc
parent5ffbc8d7c2c91e214417fb3a686584d1bbfa01c5 (diff)
downloadpaludis-6319f1e7cac9aac93c066f0b1318d71489987cf8.tar.gz
paludis-6319f1e7cac9aac93c066f0b1318d71489987cf8.tar.xz
Remove simple_ from visitor
Diffstat (limited to 'src/clients/cave/resolve_common.cc')
-rw-r--r--src/clients/cave/resolve_common.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/cave/resolve_common.cc b/src/clients/cave/resolve_common.cc
index 747305b1c..a42a36922 100644
--- a/src/clients/cave/resolve_common.cc
+++ b/src/clients/cave/resolve_common.cc
@@ -39,7 +39,7 @@
#include <paludis/util/timestamp.hh>
#include <paludis/util/map.hh>
#include <paludis/util/make_shared_copy.hh>
-#include <paludis/util/simple_visitor_cast.hh>
+#include <paludis/util/visitor_cast.hh>
#include <paludis/util/sequence-impl.hh>
#include <paludis/util/set-impl.hh>
#include <paludis/util/wrapped_forward_iterator-impl.hh>
@@ -621,11 +621,11 @@ namespace
std::shared_ptr<const QualifiedPackageName> name_if_dependent_remove(
const std::shared_ptr<const Resolution> & resolution)
{
- const RemoveDecision * const remove_decision(simple_visitor_cast<const RemoveDecision>(*resolution->decision()));
+ const RemoveDecision * const remove_decision(visitor_cast<const RemoveDecision>(*resolution->decision()));
if (remove_decision)
for (auto r(resolution->constraints()->begin()), r_end(resolution->constraints()->end()) ;
r != r_end ; ++r)
- if (simple_visitor_cast<const DependentReason>(*(*r)->reason()))
+ if (visitor_cast<const DependentReason>(*(*r)->reason()))
return make_shared_copy((*remove_decision->ids()->begin())->name());
return make_null_shared_ptr();
}