Fix clang compile warning

This commit is contained in:
Deal 2023-09-08 23:20:44 +08:00 committed by GitHub
parent fac60bd4f5
commit a45c1cc334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4426,7 +4426,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