Skip to content

Commit

Permalink
Workaround an ld warning on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Feb 25, 2024
1 parent ebea573 commit f68f452
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -2631,6 +2631,7 @@ template <typename T> struct strip_named_arg<T, true> {
};

template <typename T, typename ParseContext>
FMT_VISIBILITY("hidden") // Suppress an ld warning on macOS (#3769).
FMT_CONSTEXPR auto parse_format_specs(ParseContext& ctx)
-> decltype(ctx.begin()) {
using char_type = typename ParseContext::char_type;
Expand Down

0 comments on commit f68f452

Please sign in to comment.