Skip to content

Commit

Permalink
Merge pull request #174 from ericonr/unused2
Browse files Browse the repository at this point in the history
Fix remaining unused argument warnings.
  • Loading branch information
p-ranav authored May 9, 2022
2 parents 6ba201e + 82eed31 commit f5ea927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/argparse/argparse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class Argument {

template <std::size_t N, std::size_t... I>
explicit Argument(std::array<std::string_view, N> &&a,
std::index_sequence<I...> unused)
std::index_sequence<I...> /*unused*/)
: m_is_optional((is_optional(a[I]) || ...)), m_is_required(false),
m_is_repeatable(false), m_is_used(false) {
((void)m_names.emplace_back(a[I]), ...);
Expand Down

0 comments on commit f5ea927

Please sign in to comment.