aboutsummaryrefslogtreecommitdiff
path: root/src/list/generator/make_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list/generator/make_list.h')
-rw-r--r--src/list/generator/make_list.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/list/generator/make_list.h b/src/list/generator/make_list.h
index 3bf65a2..33419cb 100644
--- a/src/list/generator/make_list.h
+++ b/src/list/generator/make_list.h
@@ -11,18 +11,18 @@ template <
typename Element
>
struct MakeList {
- typedef Cons<
+ typedef typename Cons<
Element,
typename MakeList<
Substract<Count, Size<1>>,
Element
>::type
- > type;
+ >::type type;
};
template <typename Element>
struct MakeList<Size<1>, Element> {
- typedef Cons<Element, void> type;
+ typedef typename Cons<Element, void>::type type;
};
}