Skip to content

Commit

Permalink
Fix error: identifier '_a' preceded by whitespace in a literal operat…
Browse files Browse the repository at this point in the history
…or declaration is deprecated

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
  • Loading branch information
phprus committed Dec 9, 2023
1 parent dee0dbf commit 72676b9
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 72676b9

Please sign in to comment.