Fixing deprecation warning Wdeprecated-literal-operator on LLVM 16.0.6

pull/2870/head
Rick Rodgers 2 years ago
parent cedfeeb95f
commit bb9c47cf88

@ -4165,7 +4165,7 @@ template <detail_exported::fixed_string Str> constexpr auto operator""_a() {
return detail::udl_arg<char_t, sizeof(Str.data) / sizeof(char_t), Str>(); return detail::udl_arg<char_t, sizeof(Str.data) / sizeof(char_t), Str>();
} }
# else # 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}; return {s};
} }
# endif # endif

Loading…
Cancel
Save