aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/visitor.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/visitor.hh')
-rw-r--r--paludis/util/visitor.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/visitor.hh b/paludis/util/visitor.hh
index 19b3d0b6b..a49776e8e 100644
--- a/paludis/util/visitor.hh
+++ b/paludis/util/visitor.hh
@@ -135,7 +135,7 @@ namespace paludis
};
template <typename T_>
- using CallResultType = typename ExtractResultType<decltype(&T_::operator())>::Type;
+ using CallResultType = typename std::remove_const<typename ExtractResultType<decltype(&T_::operator())>::Type>::type;
template <typename Revisitor_, typename Result_, typename... Cases_>
struct MadeVisitor;