File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -1738,18 +1738,18 @@ inline auto find_escape(const char* begin, const char* end)
17381738 return result;
17391739}
17401740
1741- #define FMT_STRING_IMPL (s, base, explicit ) \
1742- [] { \
1743- /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
1744- /* Use a macro-like name to avoid shadowing warnings. */ \
1745- struct FMT_GCC_VISIBILITY_HIDDEN FMT_COMPILE_STRING : base { \
1746- using char_type = fmt::remove_cvref_t <decltype (s[0 ])>; \
1747- FMT_MAYBE_UNUSED FMT_CONSTEXPR explicit \
1748- operator fmt::basic_string_view<char_type>() const { \
1749- return fmt::detail_exported::compile_string_to_view<char_type>(s); \
1750- } \
1751- }; \
1752- return FMT_COMPILE_STRING (); \
1741+ #define FMT_STRING_IMPL (s, base, explicit ) \
1742+ [] { \
1743+ /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
1744+ /* Use a macro-like name to avoid shadowing warnings. */ \
1745+ struct FMT_GCC_VISIBILITY_HIDDEN FMT_COMPILE_STRING : base { \
1746+ using char_type FMT_MAYBE_UNUSED = fmt::remove_cvref_t <decltype (s[0 ])>; \
1747+ FMT_MAYBE_UNUSED FMT_CONSTEXPR explicit \
1748+ operator fmt::basic_string_view<char_type>() const { \
1749+ return fmt::detail_exported::compile_string_to_view<char_type>(s); \
1750+ } \
1751+ }; \
1752+ return FMT_COMPILE_STRING (); \
17531753 }()
17541754
17551755/* *
You can’t perform that action at this time.
0 commit comments