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>();
}
# 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

Loading…
Cancel
Save