diff --git a/include/boost/mp11/detail/mp_remove_if.hpp b/include/boost/mp11/detail/mp_remove_if.hpp index 9687b4a..cafbf34 100644 --- a/include/boost/mp11/detail/mp_remove_if.hpp +++ b/include/boost/mp11/detail/mp_remove_if.hpp @@ -32,8 +32,7 @@ template class L, class... T, template class P> str template struct _f { using type = mp_if, mp_list<>, mp_list>; }; using type = mp_append, typename _f::type...>; #else - template using _f = mp_if, mp_list<>, mp_list>; - using type = mp_append, _f...>; + using type = mp_append, mp_if, mp_list<>, mp_list>...>; #endif };