Skip to content

Commit

Permalink
Remove whitespace in operator"" _a
Browse files Browse the repository at this point in the history
Clang 18 warns about this whitespace.

Resolves fmtlib#3607
  • Loading branch information
danakj authored Aug 23, 2023
1 parent b4291bf commit 4b42617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -4362,7 +4362,7 @@ template <detail_exported::fixed_string Str> constexpr auto operator""_a() {
return detail::udl_arg<char_t, sizeof(Str.data) / sizeof(char_t), Str>();
}
# else
constexpr auto operator"" _a(const char* s, size_t) -> detail::udl_arg<char> {
constexpr auto operator""_a(const char* s, size_t) -> detail::udl_arg<char> {
return {s};
}
# endif
Expand Down

0 comments on commit 4b42617

Please sign in to comment.