Commit 1353bf8f authored by Neverlord's avatar Neverlord

Remove innocent looking assert that freaks GCC out

This removes a `static_assert` that checks whether `tl_map` is a NOP. For
whatever reason, it does not compile with older compilers.
parent d7e3c1f6
...@@ -539,7 +539,6 @@ struct tl_map; ...@@ -539,7 +539,6 @@ struct tl_map;
template <class... Ts, template <class> class... Funs> template <class... Ts, template <class> class... Funs>
struct tl_map<type_list<Ts...>, Funs...> { struct tl_map<type_list<Ts...>, Funs...> {
static_assert(sizeof...(Funs), "No mapping defined");
using type = type_list<typename tl_apply_all<Ts, Funs...>::type...>; using type = type_list<typename tl_apply_all<Ts, Funs...>::type...>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment