aboutsummaryrefslogtreecommitdiff
path: root/src/list/operation/higher/take_while.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list/operation/higher/take_while.h')
-rw-r--r--src/list/operation/higher/take_while.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list/operation/higher/take_while.h b/src/list/operation/higher/take_while.h
index 27f58ed..d04dc2d 100644
--- a/src/list/operation/higher/take_while.h
+++ b/src/list/operation/higher/take_while.h
@@ -12,10 +12,10 @@ template <
struct TakeWhile {
typedef typename If<
Predicate<Head<Current>>::type::value,
- Cons<
+ typename Cons<
Head<Current>,
typename TakeWhile<Predicate, Tail<Current>>::type
- >,
+ >::type,
void
>::type type;
};