diff --git a/include/continuable/detail/traits.hpp b/include/continuable/detail/traits.hpp index 29e9e4c..d558795 100644 --- a/include/continuable/detail/traits.hpp +++ b/include/continuable/detail/traits.hpp @@ -326,17 +326,19 @@ constexpr auto unpack(F&& first_sequenceable, U&& unpacker, get(std::forward(first_sequenceable))...); } /// Calls the given unpacker with the content of the given sequenceable -template +template constexpr auto unpack(F&& first_sequenceable, S&& second_sequenceable, - U&& unpacker, std::integer_sequence, - std::integer_sequence) + U&& unpacker, std::integer_sequence, + std::integer_sequence) -> decltype(std::forward(unpacker)( - get(std::forward(first_sequenceable))..., - get(std::forward(second_sequenceable))...)) { + get(std::forward(first_sequenceable))..., + get(std::forward(second_sequenceable))...)) { + (void)first_sequenceable; + (void)second_sequenceable; return std::forward(unpacker)( - get(std::forward(first_sequenceable))..., - get(std::forward(second_sequenceable))...); + get(std::forward(first_sequenceable))..., + get(std::forward(second_sequenceable))...); } /// Calls the given unpacker with the content of the given sequenceable template