diff --git a/include/argparse/argparse.hpp b/include/argparse/argparse.hpp index 5e826c58..9edbeb94 100644 --- a/include/argparse/argparse.hpp +++ b/include/argparse/argparse.hpp @@ -373,7 +373,7 @@ class Argument { template explicit Argument(std::string_view prefix_chars, std::array &&a, - std::index_sequence /*unused*/) + std::index_sequence) : m_is_optional((is_optional(a[I], prefix_chars) || ...)), m_is_required(false), m_is_repeatable(false), m_is_used(false), m_prefix_chars(prefix_chars) {