aboutsummaryrefslogtreecommitdiff
path: root/paludis/args/man.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 /paludis/args/man.cc
parent5ffbc8d7c2c91e214417fb3a686584d1bbfa01c5 (diff)
downloadpaludis-6319f1e7cac9aac93c066f0b1318d71489987cf8.tar.gz
paludis-6319f1e7cac9aac93c066f0b1318d71489987cf8.tar.xz
Remove simple_ from visitor
Diffstat (limited to 'paludis/args/man.cc')
-rw-r--r--paludis/args/man.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/args/man.cc b/paludis/args/man.cc
index b131c05e4..7245d24a9 100644
--- a/paludis/args/man.cc
+++ b/paludis/args/man.cc
@@ -19,7 +19,7 @@
*/
#include "man.hh"
-#include <paludis/util/simple_visitor_cast.hh>
+#include <paludis/util/visitor_cast.hh>
#include <paludis/util/wrapped_forward_iterator-impl.hh>
#include <functional>
#include <ostream>
@@ -142,8 +142,8 @@ paludis::args::generate_doc(DocWriter & dw, const ArgsHandler * const h)
for (paludis::args::ArgsGroup::ConstIterator b(a->begin()), b_end(a->end()) ;
b != b_end ; ++b)
{
- if (simple_visitor_cast<const paludis::args::AliasArg>(**b) &&
- simple_visitor_cast<const paludis::args::AliasArg>(**b)->hidden())
+ if (visitor_cast<const paludis::args::AliasArg>(**b) &&
+ visitor_cast<const paludis::args::AliasArg>(**b)->hidden())
continue;
dw.arg_group_item((*b)->short_name(), (*b)->long_name(),