Skip to content

Commit

Permalink
Silence msvc warning about an unused named parameter
Browse files Browse the repository at this point in the history
Warning C4100 may cause compile failures under strict warning regimes.
  • Loading branch information
DanielaE authored and vitaut committed May 16, 2021
1 parent 7d4c92f commit 6469b90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -2446,6 +2446,7 @@ constexpr int get_arg_index_by_name(basic_string_view<Char> name) {
}
if constexpr (sizeof...(Args) > 0)
return get_arg_index_by_name<N + 1, Args...>(name);
(void)name;
return invalid_arg_index;
}
#endif
Expand Down

0 comments on commit 6469b90

Please sign in to comment.