diff options
Diffstat (limited to 'src/list/operation/higher/drop_while.h')
-rw-r--r-- | src/list/operation/higher/drop_while.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list/operation/higher/drop_while.h b/src/list/operation/higher/drop_while.h index a6ab8c4..ad1553f 100644 --- a/src/list/operation/higher/drop_while.h +++ b/src/list/operation/higher/drop_while.h @@ -10,11 +10,11 @@ template < typename Current > struct DropWhile { - typedef If< + typedef typename If< Predicate<Head<Current>>::type::value, typename DropWhile<Predicate, Tail<Current>>::type, Current - > type; + >::type type; }; template < |