diff --git a/pythran/pythonic/include/types/tuple.hpp b/pythran/pythonic/include/types/tuple.hpp index ce7aa8972..40c6f55a9 100644 --- a/pythran/pythonic/include/types/tuple.hpp +++ b/pythran/pythonic/include/types/tuple.hpp @@ -812,7 +812,7 @@ struct __combined, std::tuple> { PYTHONIC_NS_BEGIN namespace details { - template + template struct pick_combined; template struct pick_combined { @@ -820,7 +820,7 @@ namespace details }; template struct pick_combined { - using type = P; + using type = T; }; } // namespace details PYTHONIC_NS_END @@ -831,7 +831,7 @@ struct __combined, using holder = std::tuple; template static std::tuple::type, I == Is>::type...> + typename std::tuple_element::type, t, I == Is>::type...> make_type(pythonic::utils::index_sequence); static auto make_type() -> decltype(make_type( pythonic::utils::make_index_sequence()));