diff options
Diffstat (limited to 'src/list/operation/higher/find.h')
-rw-r--r-- | src/list/operation/higher/find.h | 4 |
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 < |