Fix overload ambiguity in print

This commit is contained in:
Victor Zverovich 2022-02-05 08:35:19 -08:00
parent 17b362f78c
commit e2ba01fcb0

View File

@ -129,7 +129,7 @@ template <typename Char, size_t N,
fmt::detail_exported::fixed_string<Char, N> Str>
struct udl_compiled_string : compiled_string {
using char_type = Char;
constexpr operator basic_string_view<char_type>() const {
explicit constexpr operator basic_string_view<char_type>() const {
return {Str.data, N - 1};
}
};