mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-08 01:36:53 +08:00
Fix overload ambiguity in print
This commit is contained in:
parent
17b362f78c
commit
e2ba01fcb0
@ -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};
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user