Workaround an ld warning on macOS

This commit is contained in:
Victor Zverovich 2024-02-25 11:41:52 -08:00
parent ebea5736a2
commit f68f452dea

View File

@ -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;