Skip to content

Commit f68f452

Browse files
committed
Workaround an ld warning on macOS
1 parent ebea573 commit f68f452

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/fmt/base.h

+1
Original file line numberDiff line numberDiff line change
@@ -2631,6 +2631,7 @@ template <typename T> struct strip_named_arg<T, true> {
26312631
};
26322632

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

0 commit comments

Comments
 (0)