aboutsummaryrefslogtreecommitdiff
path: root/src/list/operation/higher/find.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list/operation/higher/find.h')
-rw-r--r--src/list/operation/higher/find.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list/operation/higher/find.h b/src/list/operation/higher/find.h
index 47b88ad..bf9d04f 100644
--- a/src/list/operation/higher/find.h
+++ b/src/list/operation/higher/find.h
@@ -11,11 +11,11 @@ template <
typename Current
>
struct Find {
- typedef If<
+ typedef typename If<
Predicate<Head<Current>>::type::value,
Head<Current>,
typename Find<Predicate, Tail<Current>>::type
- > type;
+ >::type type;
};
template <