Skip to content

Commit

Permalink
Fix warning: identifier '_a' preceded by whitespace in a literal oper…
Browse files Browse the repository at this point in the history
…ator declaration is deprecated (#3748)

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
  • Loading branch information
phprus authored Dec 9, 2023
1 parent 9a6fd11 commit 6392dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/xchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ constexpr format_arg_store<wformat_context, T...> make_wformat_args(

inline namespace literals {
#if FMT_USE_USER_DEFINED_LITERALS && !FMT_USE_NONTYPE_TEMPLATE_ARGS
constexpr detail::udl_arg<wchar_t> operator"" _a(const wchar_t* s, size_t) {
constexpr detail::udl_arg<wchar_t> operator""_a(const wchar_t* s, size_t) {
return {s};
}
#endif
Expand Down

0 comments on commit 6392dba

Please sign in to comment.