diff options
Diffstat (limited to 'src/list/operation/higher/misc.h')
-rw-r--r-- | src/list/operation/higher/misc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/list/operation/higher/misc.h b/src/list/operation/higher/misc.h index 1eacaaa..feec7de 100644 --- a/src/list/operation/higher/misc.h +++ b/src/list/operation/higher/misc.h @@ -17,7 +17,10 @@ class Map { typename Previous > struct function_wrapper { - typedef Cons<Function<Current>, Previous> type; + typedef Cons< + typename Function<Current>::type, + Previous + > type; }; public: |